Skip to content

Commit

Permalink
fix mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
pslacerda committed May 17, 2024
1 parent b55974c commit 598bd54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/pymol/commanding.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ def inner(*args, **kwargs):
kwargs = {**kwargs_, **kwargs, **dict(zip(args2_, args))}
kwargs.pop("_self", None)
for arg in kwargs.copy():
if funcs[arg] is _parse_bool or funcs[arg] == bool:
if funcs[arg] == bool:
funcs[arg] = _parse_bool
elif funcs[arg] == List[str]:
funcs[arg] = _parse_list_str
Expand Down

0 comments on commit 598bd54

Please sign in to comment.