From 38fcd221d8fe03208abdafe0f01a6e54a601b71a Mon Sep 17 00:00:00 2001 From: jak1 Date: Sun, 19 Jun 2022 09:34:16 +0200 Subject: updated all leftover scripts to py3 --- wiki/redesign.py | 6 +++--- wiki/wikigen.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'wiki') 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 -- cgit v1.2.3-70-g09d2