diff --git a/Orange/canvas/scheme/readwrite.py b/Orange/canvas/scheme/readwrite.py index accfd0005db..5efe4af2001 100644 --- a/Orange/canvas/scheme/readwrite.py +++ b/Orange/canvas/scheme/readwrite.py @@ -1004,7 +1004,7 @@ def literal_dumps(obj, prettyprint=False, indent=4): NoneType = type(None) def check(obj): - if type(obj) in [int, int, float, bool, NoneType, str, str]: + if type(obj) in [int, float, bool, NoneType, str, bytes]: return True if id(obj) in memo: