Skip to content

Commit

Permalink
handle python serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
calgray committed Aug 17, 2021
1 parent bb3cb3a commit 56567c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daliuge-translator/dlg/dropmake/pg_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ def make_single_drop(self, iid="0", **kwargs):

@staticmethod
def str_to_bool(value, default_value=False):
res = True if value in ["1", "true", "yes"] else default_value
res = True if value in ["1", "true", "True", "yes"] else default_value
return res

@staticmethod
Expand Down

0 comments on commit 56567c6

Please sign in to comment.