Commit e95f16fd authored by nextime's avatar nextime

Fix confupdate script

parent 28860d06
......@@ -65,9 +65,9 @@ def main():
tover = '\x08'
if len(sys.argv>3) and int(sys.argv[3]) <= 8 and int(sys.argv[3]) >=7:
if len(sys.argv)>3 and int(sys.argv[3]) <= 8 and int(sys.argv[3]) >=7:
tover = struct.pack('B', int(sys.argv[3]))
elif len(sys.argv>3):
elif len(sys.argv)>3:
print 'Error, target version not supported'
print
printhelp()
......
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