Skip to content

Commit

Permalink
Need to inherit from object
Browse files Browse the repository at this point in the history
  • Loading branch information
tkw1536 authored Oct 29, 2018
1 parent 104e587 commit 4906aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmath/convert_pickle.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
# PickleConverter -- main class
##############################################################################

class PickleConverter:
class PickleConverter(object):
importPythonBasics = {"list": lambda *args:list(args), "tuple": lambda *args:tuple(args), "none": None, "dict": lambda *args: dict(args),
"true":True, "false": False,
"getattr": lambda x,f: getattr(x,f)}
Expand Down

0 comments on commit 4906aa9

Please sign in to comment.