fix opening secrets file

This commit is contained in:
Yann Leboulanger 2016-01-03 11:07:44 +01:00
parent e440b421af
commit cb8993f51d
1 changed files with 1 additions and 1 deletions

View File

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