Skip to content

Commit 8ea1325

Browse files
committed
lint
1 parent 41bb886 commit 8ea1325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/infotext_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def split_infotext(x: str):
262262

263263
def parameters_to_dict(parameters: str):
264264
"""convert parameters from string to dict"""
265-
return {k: v for k, v in re_param.findall(parameters)}
265+
return dict(re_param.findall(parameters))
266266

267267

268268
def parse_parameters(param_dict: dict):

0 commit comments

Comments
 (0)