diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-12 03:14:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-12 03:14:35 +0300 |
commit | 460822ea6cef840e0f478918547a806b231c3dc6 (patch) | |
tree | 729118f0273a182b62628aae87ae8c9fe9b5f1c2 /hercules/code/server/questsdb.py | |
parent | d3648ee52a4860111afe9049713d788f60e5b588 (diff) | |
download | evol-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.py | 7 |
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: |