Skip to content

Commit 7aadbd9

Browse files
committed
enable debug via command line parameter 'debug'
1 parent 6e87520 commit 7aadbd9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ def parseargv(): #parses argv, returns StopID and LineID
5555
query_stop = int(elem)
5656
elif (1 <= len(elem) <= 3 and elem.isdigit()):
5757
query_ids.append(elem)
58+
elif elem == 'debug':
59+
global DEBUG
60+
DEBUG=True
5861
else:
5962
print("What's this?: {}".format(elem))
6063
query_ids.sort(key=int)

0 commit comments

Comments
 (0)