fix reading secrets file under windows. Fixes #8118

This commit is contained in:
Yann Leboulanger 2015-08-07 13:56:28 +02:00
parent 08b362ec1c
commit 026c5e1b1a
1 changed files with 1 additions and 1 deletions

View File

@ -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')