Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
briangu committed Sep 24, 2023
1 parent 69413b9 commit 97d9de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klongpy/sys_fn.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def eval_sys_python_call(klong, x, y, z):
"""
if is_list(x):
if not isinstance(x[0],object):
raise KlongException(f"x must be a list of [object;function]")
raise KlongException("x must be a list of [object;function]")
if not isinstance(x[1],str):
raise KlongException("function name must be a string")
klazz = klong[x[0]] if isinstance(x[0],KGSym) else x[0]
Expand Down

0 comments on commit 97d9de5

Please sign in to comment.