rtMode argument now works flawlessly

This commit is contained in:
Profitroll 2022-10-05 13:51:04 +02:00
parent 93240ffcca
commit 651d709e66

View File

@ -239,6 +239,9 @@ def trip_find(accessId: str,
payload[str(var)] = val.strftime("%H:%M")
else:
payload[str(var)] = val
elif str(var) == "rtMode":
if val != None:
payload["rtMode"] = val.upper()
elif str(var) not in ["json", "headers", "payload"]:
if val != None:
payload[str(var)] = val