Commit 3a4e6be0 authored by Pino Toscano's avatar Pino Toscano
Browse files

colorchecker.py: more pythonic sys.argv iteration

parent bf220bf7
......@@ -27,8 +27,7 @@ if len(sys.argv) == 1:
print("Error: You have to specify the file to check")
sys.exit(1)
for fileIndex in range(1, len(sys.argv)):
path = sys.argv[fileIndex]
for path in sys.argv[1:]:
print("Processing " + path)
xmlFile = QtCore.QFile(path)
......
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