mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update stringtable_validator.py (#7774)
This commit is contained in:
parent
03fb4222d5
commit
5b559152e2
@ -23,8 +23,8 @@ PROJECT_NAME = "ACE"
|
|||||||
def check_stringtable(filepath):
|
def check_stringtable(filepath):
|
||||||
try:
|
try:
|
||||||
tree = ET.parse(filepath)
|
tree = ET.parse(filepath)
|
||||||
except:
|
except Exception as e:
|
||||||
print(" ERROR: Failed to parse file.")
|
print(" ERROR: Failed to parse file. {}".format(e))
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
errors = 0
|
errors = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user