Upgrade check_tackinfo.py to Python3
This commit is contained in:
parent
54d486ae12
commit
6fa7bd8abd
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python2
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import sys
|
import sys
|
||||||
@ -7,7 +7,7 @@ import re
|
|||||||
WHITELIST = set(["mph"])
|
WHITELIST = set(["mph"])
|
||||||
|
|
||||||
if len(sys.argv) < 3:
|
if len(sys.argv) < 3:
|
||||||
print "Not enough arguments.\nUsage: " + sys.argv[0] + " taginfo.json profile.lua"
|
print("Not enough arguments.\nUsage: " + sys.argv[0] + " taginfo.json profile.lua")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
taginfo_path = sys.argv[1]
|
taginfo_path = sys.argv[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user