Commit 70bbc870 authored by Denis Salem's avatar Denis Salem
Browse files

Merge branch 'master' of http://framagit.org/denissalem/VenC into dev

parents b10672cd 6d044f18
......@@ -62,7 +62,7 @@ command_index = {"-v": [".print", "print_version", 0],
"--version": [".print", "print_version", 0]}
def argv_handler(argv=None):
argv = argv if argv != None else sys.argv[1:]
argv = argv if argv is not None else sys.argv[1:]
if argv != []:
if argv[0] in command_index:
if command_index[argv[0]][2] != -1:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment