Skip to content

Commit ed2b861

Browse files
authored
Update config.py
1 parent 694062f commit ed2b861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def __init__(self):
189189
j = json.load(j)
190190
if settings["enable-encryption"] == True:
191191
password = subprocess.getoutput(f"cat {CACHE}/.pswd_temp")
192-
os.system(f"zip -9 -P {password} cfg.sd.zip . -r -x 'saving_status'")
192+
os.system(f"zip -9 -P '{password}' cfg.sd.zip . -r -x 'saving_status'")
193193
print("moving the configuration archive to the user-defined directory")
194194
os.system(f"mv ./cfg.sd.zip \"{j['recent_file']}\"")
195195
else:

0 commit comments

Comments
 (0)