franz101 commited on
Commit
c0a6b99
·
1 Parent(s): 9dedd66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ PROJECT_ID = "franz-media-1512554302520"
15
  LOCATION = "us-central1"
16
  CRED_PATH = "creds.json"
17
 
18
- with open("/home/user/app/key.json","w") as f:
19
  encrypted_data = f.read()
20
 
21
  cipher_suite = Fernet(os.environ["ENCRYPTION_KEY"])
 
15
  LOCATION = "us-central1"
16
  CRED_PATH = "creds.json"
17
 
18
+ with open("/home/user/app/key.json","rb") as f:
19
  encrypted_data = f.read()
20
 
21
  cipher_suite = Fernet(os.environ["ENCRYPTION_KEY"])