This commit is contained in:
quenousimporte 2023-09-22 11:09:15 +02:00
parent 9909705634
commit ab5d744f9e
1 changed files with 0 additions and 1 deletions

View File

@ -76,7 +76,6 @@ def savedata():
def loaddata(): def loaddata():
if settings["mode"] == "remote": if settings["mode"] == "remote":
timestamp = str(time.time())
subprocess.call(["curl", "-X", "POST", "-F", "action=fetch", "-F", "password=" + settings["password"], "-o", "session/data.acs", settings["url"] + "/handler.php"]) subprocess.call(["curl", "-X", "POST", "-F", "action=fetch", "-F", "password=" + settings["password"], "-o", "session/data.acs", settings["url"] + "/handler.php"])
subprocess.call([settings["commands"]["gpg"], "-q", "--yes", "--output", "session/data.json", "--decrypt", "session/data.acs"]) subprocess.call([settings["commands"]["gpg"], "-q", "--yes", "--output", "session/data.json", "--decrypt", "session/data.acs"])