OSDN Git Service
(root)
/
joypy
/
Thun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53d886a
)
Open stack pickle file in binary mode.
author
Simon Forman
<sforman@hushmail.com>
Fri, 24 Apr 2020 17:10:30 +0000
(10:10 -0700)
committer
Simon Forman
<sforman@hushmail.com>
Fri, 24 Apr 2020 17:10:30 +0000
(10:10 -0700)
joy/gui/world.py
patch
|
blob
|
history
diff --git
a/joy/gui/world.py
b/joy/gui/world.py
index
f0231b0
..
29f1112
100644
(file)
--- a/
joy/gui/world.py
+++ b/
joy/gui/world.py
@@
-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)