changing url to srcurl because yes

This commit is contained in:
iRaven 2024-02-21 01:53:55 -06:00
parent 5da1959b94
commit 279a7be3e7
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
{ {
"chkinterval": "", "chkinterval": "",
"filepath": "", "filepath": "",
"srcurl": "",
"server": "", "server": "",
"port": "", "port": "",
"ssh-user": "", "ssh-user": "",

View File

@ -25,7 +25,7 @@ def healthcheck():
healthstatus = "ok" healthstatus = "ok"
def downloadLatestCommands(): def downloadLatestCommands():
r = requests.get(f'{url}') r = requests.get(cfg['srcurl'])
open(cfg["filepath"], 'wb').write(r.content) open(cfg["filepath"], 'wb').write(r.content)
def commandList(): def commandList():