Open stack pickle file in binary mode.
This commit is contained in:
parent
53d886a492
commit
25525deb53
|
|
@ -148,5 +148,5 @@ class StackDisplayWorld(World):
|
||||||
|
|
||||||
def load_stack(self):
|
def load_stack(self):
|
||||||
if os.path.exists(self.filename):
|
if os.path.exists(self.filename):
|
||||||
with open(self.filename) as f:
|
with open(self.filename, 'rb') as f:
|
||||||
return pickle.load(f)
|
return pickle.load(f)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue