summaryrefslogtreecommitdiff
path: root/wiki
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 /wiki
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 'wiki')
-rwxr-xr-xwiki/redesign.py6
-rwxr-xr-xwiki/wikigen.py4
2 files changed, 5 insertions, 5 deletions
diff --git a/wiki/redesign.py b/wiki/redesign.py
index d2828d7..5a17b9a 100755
--- a/wiki/redesign.py
+++ b/wiki/redesign.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#!/usr/bin/env python3
# -*- coding: utf8 -*-
#
# Copyright (C) 2010-2011 Evol Online
@@ -279,7 +279,7 @@ def testMobs():
x=Mob() # Only for pyflakes2
for a2 in src:
- a=a2.replace(' ', '\t');
+ a=a2.replace(' ', '\t')
if a == "{\n":
if skip:
skip=0
@@ -743,7 +743,7 @@ wikib.close()
# Aeros allocation
if aeros:
- print("// These arrays are filled automatically by redesign.py");
+ print("// These arrays are filled automatically by redesign.py")
print("setarray .ML_Plants, "+
str(Plants).replace('[','').replace(']','').replace("'","")+";")
print("setarray .ML_Boss, "+
diff --git a/wiki/wikigen.py b/wiki/wikigen.py
index 7a7d2ec..7c2bfe6 100755
--- a/wiki/wikigen.py
+++ b/wiki/wikigen.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#!/usr/bin/env python3
# -*- coding: utf8 -*-
#
# Copyright (C) 2010-2011 Evol Online
@@ -844,7 +844,7 @@ def DoQuest():
aksort.append(i.group)
for key in aktbl:
- #print(aktbl[key]);
+ #print(aktbl[key])
aktbl[key]=sorted(aktbl[key], key=sortlv)
# Individual file