Skip to content

Commit

Permalink
Handle issues with __str__
Browse files Browse the repository at this point in the history
  • Loading branch information
AryazE committed Aug 28, 2024
1 parent d142e83 commit 856693e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/dynapyt/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ def filtered(self, func, f, args):
except AttributeError:
no_name = True
if no_dict and no_name:
sub_arg_names.append(str(arg))
try:
sub_arg_names.append(str(arg))
except:
pass
if (
func.__name__ == "post_call"
and len(sub_args) > 0
Expand Down

0 comments on commit 856693e

Please sign in to comment.