From 6fd107c2305de1a91605803e0eaef9ccde6f0d70 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Tue, 22 Dec 2015 16:39:56 -0800 Subject: [PATCH] CSV debug check inadvertently dropped --- src/gam.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gam.py b/src/gam.py index 449c64fc..b27b6135 100755 --- a/src/gam.py +++ b/src/gam.py @@ -8982,6 +8982,9 @@ try: run_batch(items) sys.exit(0) elif sys.argv[1].lower() == u'csv': + if httplib2.debuglevel > 0: + print u'Sorry, CSV commands are not compatible with debug. Delete debug.gam and try again.' + sys.exit(1) csv_filename = sys.argv[2] f = openFile(csv_filename) input_file = csv.DictReader(f)