[7] fix status text

pull/1257/head
meisnate12 2 years ago
parent 1d91060306
commit 23bb1f05b5

@ -1 +1 @@
1.18.2-develop6 1.18.2-develop7

@ -450,7 +450,8 @@ class DataFile:
for k, v in default.items(): for k, v in default.items():
if f"<<{k}>>" in key: if f"<<{k}>>" in key:
key = key.replace(f"<<{k}>>", v) key = key.replace(f"<<{k}>>", v)
variables[key] = value if key not in variables:
variables[key] = value
for key, value in variables.copy().items(): for key, value in variables.copy().items():
variables[f"{key}_encoded"] = requests.utils.quote(str(value)) variables[f"{key}_encoded"] = requests.utils.quote(str(value))

@ -956,6 +956,7 @@ if __name__ == "__main__":
else: else:
raise Failed(f"Argument Error: blank time argument") raise Failed(f"Argument Error: blank time argument")
for time_to_run in valid_times: for time_to_run in valid_times:
params["time"] = time_to_run
schedule.every().day.at(time_to_run).do(process, params) schedule.every().day.at(time_to_run).do(process, params)
while True: while True:
schedule.run_pending() schedule.run_pending()

Loading…
Cancel
Save