From 7e88d5caf36a573ca4a86d2e6d62d2c8d0309f1b Mon Sep 17 00:00:00 2001
From: Jeremy Fee <jmfee@usgs.gov>
Date: Fri, 13 May 2016 12:21:02 -0600
Subject: [PATCH] Set observatory argument data type to str (instead of
 unicode)

---
 geomagio/Controller.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/geomagio/Controller.py b/geomagio/Controller.py
index a153e925..e5ab736b 100644
--- a/geomagio/Controller.py
+++ b/geomagio/Controller.py
@@ -535,7 +535,8 @@ def parse_args(args):
                     ' CAUTION: Using multiple observatories is not' +
                     ' recommended in most cases; especially with' +
                     ' single observatory formats like IAGA and PCDCP.',
-            nargs='*')
+            nargs='*',
+            type=str)
     parser.add_argument('--inchannels',
             nargs='*',
             help='Channels H, E, Z, etc')
-- 
GitLab