summaryrefslogtreecommitdiff
path: root/hercules/code/server/db
diff options
context:
space:
mode:
Diffstat (limited to 'hercules/code/server/db')
-rw-r--r--hercules/code/server/db/char.py4
-rw-r--r--hercules/code/server/db/charregnumdb.py3
-rw-r--r--hercules/code/server/db/inventory.py3
-rw-r--r--hercules/code/server/db/skill.py3
4 files changed, 5 insertions, 8 deletions
diff --git a/hercules/code/server/db/char.py b/hercules/code/server/db/char.py
index c1bb4a8..cd8e0cc 100644
--- a/hercules/code/server/db/char.py
+++ b/hercules/code/server/db/char.py
@@ -3,8 +3,8 @@
# Copyright (C) 2015 Evol Online
# Author: Andrei Karas (4144)
-from code.fileutils import *
-from code.stringutils import *
+from code.fileutils import readFile
+from code.stringutils import escapeSqlStr
def saveCharTable(users):
dstFile = "newdb/char.sql"
diff --git a/hercules/code/server/db/charregnumdb.py b/hercules/code/server/db/charregnumdb.py
index 8837c9d..1617c13 100644
--- a/hercules/code/server/db/charregnumdb.py
+++ b/hercules/code/server/db/charregnumdb.py
@@ -3,8 +3,7 @@
# Copyright (C) 2015 Evol Online
# Author: Andrei Karas (4144)
-from code.fileutils import *
-from code.stringutils import *
+from code.fileutils import readFile
def saveCharRegNumDbTable(users):
dstFile = "newdb/char_reg_num_db.sql"
diff --git a/hercules/code/server/db/inventory.py b/hercules/code/server/db/inventory.py
index 52a2fd0..e5c1e6a 100644
--- a/hercules/code/server/db/inventory.py
+++ b/hercules/code/server/db/inventory.py
@@ -3,8 +3,7 @@
# Copyright (C) 2015 Evol Online
# Author: Andrei Karas (4144)
-from code.fileutils import *
-from code.stringutils import *
+from code.fileutils import readFile
def saveInventoryTable(users):
dstFile = "newdb/inventory.sql"
diff --git a/hercules/code/server/db/skill.py b/hercules/code/server/db/skill.py
index 2f45813..d21eb3d 100644
--- a/hercules/code/server/db/skill.py
+++ b/hercules/code/server/db/skill.py
@@ -3,8 +3,7 @@
# Copyright (C) 2015 Evol Online
# Author: Andrei Karas (4144)
-from code.fileutils import *
-from code.stringutils import *
+from code.fileutils import readFile
def saveSkillTable(users):
dstFile = "newdb/skill.sql"