fix CLI logic

This commit is contained in:
Tom Kralidis
2018-11-26 19:34:11 -05:00
parent d421562460
commit efd89a56c9
+1 -1
View File
@@ -36,7 +36,7 @@ es = Elasticsearch()
type_name = 'FeatureCollection'
if (sys.argv) == 1:
if len(sys.argv) == 1:
print('Usage: {} <path/to/data.geojson>'.format(sys.argv[0]))
sys.exit(1)