Skip to content

Commit

Permalink
Update config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vikdevelop authored Jul 12, 2024
1 parent 694062f commit ed2b861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def __init__(self):
j = json.load(j)
if settings["enable-encryption"] == True:
password = subprocess.getoutput(f"cat {CACHE}/.pswd_temp")
os.system(f"zip -9 -P {password} cfg.sd.zip . -r -x 'saving_status'")
os.system(f"zip -9 -P '{password}' cfg.sd.zip . -r -x 'saving_status'")
print("moving the configuration archive to the user-defined directory")
os.system(f"mv ./cfg.sd.zip \"{j['recent_file']}\"")
else:
Expand Down

0 comments on commit ed2b861

Please sign in to comment.