summaryrefslogtreecommitdiff
path: root/hercules/code/server/evol/consts.py
diff options
context:
space:
mode:
authorjak1 <jak1@themanaworld.org>2022-06-19 09:34:16 +0200
committerjak1 <jak1@themanaworld.org>2022-06-19 09:34:16 +0200
commit38fcd221d8fe03208abdafe0f01a6e54a601b71a (patch)
tree6a1ba5a5943b9dc0617e0046b39b82ba2284d53e /hercules/code/server/evol/consts.py
parent9a351fb1abd5694bbbb7e38fcb64bb30b3fa74bb (diff)
downloadmessworld-tools-master.tar.gz
messworld-tools-master.tar.bz2
messworld-tools-master.tar.xz
messworld-tools-master.zip
updated all leftover scripts to py3HEADmaster
Diffstat (limited to 'hercules/code/server/evol/consts.py')
-rw-r--r--hercules/code/server/evol/consts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hercules/code/server/evol/consts.py b/hercules/code/server/evol/consts.py
index c63f559..a1cdf18 100644
--- a/hercules/code/server/evol/consts.py
+++ b/hercules/code/server/evol/consts.py
@@ -27,7 +27,7 @@ def convertConsts(quests):
else:
w.write("{0}\t{1}\t{2}".format(rows[0], rows[1], rows[2]))
# build in parameters
- w.write("ClientVersion\t10000\t1\n");
+ w.write("ClientVersion\t10000\t1\n")
srcFile = "oldserverdata/db/const.txt"
w.write("// evol constants\n")
@@ -44,6 +44,6 @@ def convertConsts(quests):
rows[1] = str(quests[rows[0]]) + "\n"
if rows[0] in fields:
if fields[rows[0]] != rows[1][:-1]:
- print "warning: different const values for {0} ({1}, {2})".format(rows[0], rows[1][:-1], fields[rows[0]])
+ print("warning: different const values for {0} ({1}, {2})".format(rows[0], rows[1][:-1], fields[rows[0]]))
else:
w.write("{0}\t{1}".format(rows[0], rows[1]))