summaryrefslogtreecommitdiff
path: root/tools/petdbconverter.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/petdbconverter.py')
-rw-r--r--tools/petdbconverter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/petdbconverter.py b/tools/petdbconverter.py
index 261c1e6ad..1b7d2e4d6 100644
--- a/tools/petdbconverter.py
+++ b/tools/petdbconverter.py
@@ -175,7 +175,7 @@ def readItemDB(inFile, itemDb):
elif line[:3] == "Id:":
try:
itemId = int(line[4:])
- except:
+ except ValueError:
started = False
if itemId != 0 and itemName != "":
# was need for remove wrong characters