Spaces:
Sleeping
Sleeping
Commit
·
7ff5cea
1
Parent(s):
a93e94c
Update decrypt.py
Browse files- decrypt.py +1 -1
decrypt.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from cryptography.fernet import Fernet
|
2 |
import zipfile
|
3 |
import os
|
4 |
-
key = os.environ["HFCRYPT_KEY"].encode()
|
5 |
encrypted_filename = os.path.abspath(os.path.join(os.path.dirname(__file__), 'app.hfc'))
|
6 |
|
7 |
with open(encrypted_filename, 'rb') as file:
|
|
|
1 |
from cryptography.fernet import Fernet
|
2 |
import zipfile
|
3 |
import os
|
4 |
+
key = os.environ["HFCRYPT_KEY"].strip().encode()
|
5 |
encrypted_filename = os.path.abspath(os.path.join(os.path.dirname(__file__), 'app.hfc'))
|
6 |
|
7 |
with open(encrypted_filename, 'rb') as file:
|