summaryrefslogtreecommitdiff
path: root/hercules/code/server
diff options
context:
space:
mode:
Diffstat (limited to 'hercules/code/server')
-rw-r--r--hercules/code/server/tmw/itemdb.py2
-rw-r--r--hercules/code/server/tmw/mobdb.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/hercules/code/server/tmw/itemdb.py b/hercules/code/server/tmw/itemdb.py
index 069f744..52a0a27 100644
--- a/hercules/code/server/tmw/itemdb.py
+++ b/hercules/code/server/tmw/itemdb.py
@@ -12,7 +12,7 @@ from code.stringutils import *
def getItemDbFile(srcDir):
files = os.listdir(srcDir)
for srcFile in files:
- if srcFile.find("item_db.txt") >= 0:
+ if srcFile.find("item_db") >= 0:
yield srcFile
def convertItemDb():
diff --git a/hercules/code/server/tmw/mobdb.py b/hercules/code/server/tmw/mobdb.py
index aa9502a..7e406b1 100644
--- a/hercules/code/server/tmw/mobdb.py
+++ b/hercules/code/server/tmw/mobdb.py
@@ -11,7 +11,7 @@ from code.stringutils import *
def getMobDbFile(srcDir):
files = os.listdir(srcDir)
for srcFile in files:
- if srcFile.find("mob_db.txt") >= 0:
+ if srcFile.find("mob_db") >= 0:
yield srcFile
def convertMobDb():