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)