aboutsummaryrefslogtreecommitdiff
path: root/autoplanner.py
diff options
context:
space:
mode:
Diffstat (limited to 'autoplanner.py')
-rwxr-xr-xautoplanner.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/autoplanner.py b/autoplanner.py
index fe3e728..6af5c6d 100755
--- a/autoplanner.py
+++ b/autoplanner.py
@@ -52,9 +52,7 @@ def get_trip(date):
response = conn.getresponse()
data = response.read()
conn.close()
- f = open("./autoplanner-api-response.json", "w+")
- f.write(str(data, "utf-8"))
- f.close()
+ debug_output("autoplanner", data)
return data
def leg2desc(leg):