summaryrefslogtreecommitdiff
path: root/hercules/code/server/questsdb.py
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-12 03:14:35 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-12 03:14:35 +0300
commit460822ea6cef840e0f478918547a806b231c3dc6 (patch)
tree729118f0273a182b62628aae87ae8c9fe9b5f1c2 /hercules/code/server/questsdb.py
parentd3648ee52a4860111afe9049713d788f60e5b588 (diff)
downloadevol-tools-460822ea6cef840e0f478918547a806b231c3dc6.tar.gz
evol-tools-460822ea6cef840e0f478918547a806b231c3dc6.tar.bz2
evol-tools-460822ea6cef840e0f478918547a806b231c3dc6.tar.xz
evol-tools-460822ea6cef840e0f478918547a806b231c3dc6.zip
Fix different issues in tools found by pyflakes.
Diffstat (limited to 'hercules/code/server/questsdb.py')
-rw-r--r--hercules/code/server/questsdb.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/hercules/code/server/questsdb.py b/hercules/code/server/questsdb.py
index 25b0303..880a7f9 100644
--- a/hercules/code/server/questsdb.py
+++ b/hercules/code/server/questsdb.py
@@ -3,16 +3,11 @@
# Copyright (C) 2014 Evol Online
# Author: Andrei Karas (4144)
-import re
-from sets import Set
-
-from code.fileutils import *
-from code.stringutils import *
+from code.fileutils import readFile
def convertQuestsDb():
srcFile = "oldserverdata/db/questvars.txt"
dstFile = "newserverdata/db/quest_db.txt"
- fieldsSplit = re.compile(",")
quests = dict()
with open(srcFile, "r") as r:
with open(dstFile, "w") as w: