fix reading secrets file under windows. Fixes #8118
This commit is contained in:
parent
08b362ec1c
commit
026c5e1b1a
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class Secrets():
|
||||||
return pk
|
return pk
|
||||||
|
|
||||||
def load_secrets(filename):
|
def load_secrets(filename):
|
||||||
f = open(filename, 'rb')
|
f = open(filename, 'r')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
secrets = pickle.load(f, encoding='latin1')
|
secrets = pickle.load(f, encoding='latin1')
|
||||||
|
|
Loading…
Add table
Reference in a new issue