Open stack pickle file in binary mode.

This commit is contained in:
Simon Forman 2020-04-24 10:10:30 -07:00
parent 53d886a492
commit 25525deb53
1 changed files with 1 additions and 1 deletions

View File

@ -148,5 +148,5 @@ class StackDisplayWorld(World):
def load_stack(self):
if os.path.exists(self.filename):
with open(self.filename) as f:
with open(self.filename, 'rb') as f:
return pickle.load(f)