Correctly remove first argument

parent c72a53b1
......@@ -156,7 +156,7 @@ def main():
# If "node" arg is the first: we strip it and set a switch
if len(sys.argv) > 1 and sys.argv[1] == "node":
sys.argv = sys.argv[1:]
sys.argv.pop(1)
is_node = True
else:
is_node = False
......
Markdown is supported
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