Open files in binary mode (Jack)
This commit is contained in:
parent
cbf3dd53b4
commit
2861f4ec6e
|
@ -107,7 +107,7 @@ class Stats:
|
|||
def load_stats(self, arg):
|
||||
if not arg: self.stats = {}
|
||||
elif type(arg) == type(""):
|
||||
f = open(arg, 'r')
|
||||
f = open(arg, 'rb')
|
||||
self.stats = marshal.load(f)
|
||||
f.close()
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue