From 7e593097eab330b71a54b56251a1bea11e31a72c Mon Sep 17 00:00:00 2001 From: Chris Pham Date: Thu, 18 Jan 2018 10:55:42 -0800 Subject: [PATCH] Made apikey file, and fixed open error --- ground_station/resources/core/key | 1 + ground_station/resources/core/mapping.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 ground_station/resources/core/key diff --git a/ground_station/resources/core/key b/ground_station/resources/core/key new file mode 100644 index 0000000..4e51d9a --- /dev/null +++ b/ground_station/resources/core/key @@ -0,0 +1 @@ +AIzaSyAFjAWMwQauf2Dy5KteOuT8KexfMjOCIS8 \ No newline at end of file diff --git a/ground_station/resources/core/mapping.py b/ground_station/resources/core/mapping.py index 8a9531d..48fb7a4 100644 --- a/ground_station/resources/core/mapping.py +++ b/ground_station/resources/core/mapping.py @@ -12,7 +12,7 @@ import time ##################################### # Constants ##################################### -fp = open('key', w) +fp = open('key', 'w') _KEY = fp.read().rstrip() fp.close()