From 651d709e669d939f54f947f27d718322fb908569 Mon Sep 17 00:00:00 2001 From: profitroll Date: Wed, 5 Oct 2022 13:51:04 +0200 Subject: [PATCH] rtMode argument now works flawlessly --- pyrmv/raw/trip_find.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyrmv/raw/trip_find.py b/pyrmv/raw/trip_find.py index 54d6c1a..aaf7aed 100644 --- a/pyrmv/raw/trip_find.py +++ b/pyrmv/raw/trip_find.py @@ -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