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):
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user