summaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-07 12:04:05 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-07 12:04:05 -0300
commit552d4af9e81dae06ba78ae6be5761fafc9af3dec (patch)
treebf5f6979b42ace2ded503fc34bf6bc54bbf16af3 /wiki
parentdaf646220047c78ab29b79070db7874b7f798c1d (diff)
downloadevol-tools-552d4af9e81dae06ba78ae6be5761fafc9af3dec.tar.gz
evol-tools-552d4af9e81dae06ba78ae6be5761fafc9af3dec.tar.bz2
evol-tools-552d4af9e81dae06ba78ae6be5761fafc9af3dec.tar.xz
evol-tools-552d4af9e81dae06ba78ae6be5761fafc9af3dec.zip
Only this? :o
Diffstat (limited to 'wiki')
-rwxr-xr-xwiki/wikigen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/wiki/wikigen.py b/wiki/wikigen.py
index 3d7f8e3..94943e2 100755
--- a/wiki/wikigen.py
+++ b/wiki/wikigen.py
@@ -630,7 +630,9 @@ def ItemWrite(tbl, ID=False, AEGIS=False, NAME=False, PRICE=False, WEIGHT=True,
try:
zt=int(i.weight)
except:
+ zt=0
tbl.remove(i)
+ del zt
for i in sorted(tbl, key=lambda xcv: int(xcv.weight), reverse=True):
if ID: