fix reading secrets file under windows. Fixes #8118
This commit is contained in:
parent
08b362ec1c
commit
026c5e1b1a
|
@ -95,7 +95,7 @@ class Secrets():
|
|||
return pk
|
||||
|
||||
def load_secrets(filename):
|
||||
f = open(filename, 'rb')
|
||||
f = open(filename, 'r')
|
||||
|
||||
try:
|
||||
secrets = pickle.load(f, encoding='latin1')
|
||||
|
|
Loading…
Reference in New Issue