Skip to content

Commit

Permalink
Merge pull request biolab#1898 from ales-erjavec/fixes/serialize-lite…
Browse files Browse the repository at this point in the history
…ral-bytes

[FIX]canvas/readwrite: Fix byte literal serialization
(cherry picked from commit 53c81fd)
  • Loading branch information
astaric committed Jan 18, 2017
1 parent 8eb034f commit 9c610c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/canvas/scheme/readwrite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9c610c0

Please sign in to comment.