diff --git a/decompiler/magic.py b/decompiler/magic.py index f7655d6..9ec69cc 100644 --- a/decompiler/magic.py +++ b/decompiler/magic.py @@ -576,7 +576,10 @@ def save_global(self, obj, name=None, pack=None): self.memoize(obj) return - super().save_global(obj, name) + if PY2: + pickle.Pickler.save_global(self, obj, name) + else: + super().save_global(self, obj, name) # the main API diff --git a/un.rpyc/corrupy b/un.rpyc/corrupy index a5ee0c9..6ecf1b9 160000 --- a/un.rpyc/corrupy +++ b/un.rpyc/corrupy @@ -1 +1 @@ -Subproject commit a5ee0c9fa5282b1bc905ae4928da525b5d369954 +Subproject commit 6ecf1b9617c7e8b1e6a5a24d4ce6e64ff57b7210