fix opening secrets file
This commit is contained in:
parent
e440b421af
commit
cb8993f51d
|
@ -95,7 +95,7 @@ class Secrets():
|
||||||
return pk
|
return pk
|
||||||
|
|
||||||
def load_secrets(filename):
|
def load_secrets(filename):
|
||||||
f = open(filename, 'r')
|
f = open(filename, 'rb')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
secrets = pickle.load(f, encoding='latin1')
|
secrets = pickle.load(f, encoding='latin1')
|
||||||
|
|
Loading…
Reference in New Issue