summaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
Diffstat (limited to 'wiki')
-rwxr-xr-xwiki/wikigen.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wiki/wikigen.py b/wiki/wikigen.py
index 3213b75..f70592d 100755
--- a/wiki/wikigen.py
+++ b/wiki/wikigen.py
@@ -742,6 +742,10 @@ def DoQuest():
aktbl={}
print("\033[32;1mTotal quests: %d\033[0m" % len(qlog))
for i in qlog:
+ if i.name=="Unknown Quest Name":
+ print("Warning, invalid quest: %d" % (i.id))
+ qlog.remove(i)
+ continue
# Total Table
#print(str(i.id)+": "+i.name)
try: