1
0
mirror of https://github.com/acemod/ACE3.git synced 2024-08-30 18:23:18 +00:00

Update stringtable_validator.py ()

This commit is contained in:
PabstMirror 2020-06-22 15:26:18 -05:00 committed by GitHub
parent 03fb4222d5
commit 5b559152e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,8 +23,8 @@ PROJECT_NAME = "ACE"
def check_stringtable(filepath):
try:
tree = ET.parse(filepath)
except:
print(" ERROR: Failed to parse file.")
except Exception as e:
print(" ERROR: Failed to parse file. {}".format(e))
return 1
errors = 0