From 4f72485e9fff215eab64b5c22e160866181bae88 Mon Sep 17 00:00:00 2001 From: jowj Date: Tue, 28 Jan 2020 16:10:27 -0600 Subject: [PATCH] Update state.log to state.json to match changes in arke. --- mojo-rtm/mojo-rtm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mojo-rtm/mojo-rtm.py b/mojo-rtm/mojo-rtm.py index 2b3da53..4d0bdc8 100644 --- a/mojo-rtm/mojo-rtm.py +++ b/mojo-rtm/mojo-rtm.py @@ -78,7 +78,7 @@ def handle_messages(**payload): response = "you wouldn't download a car" elif "arke" in is_command[1]: response = [] - with open("/shared/state.log", "r") as json_File: + with open("/shared/state.json", "r") as json_File: for line in json_File: response.append(json.loads(line)) elif "pence" in is_command[1]: