Browse Source

Fix some more Py2 woes...

master
Graham Northup 3 years ago
parent
commit
893a96a470
Signed by untrusted user: grissess GPG Key ID: 5D000E6F539376FB
  1. 4
      app/items.py

4
app/items.py

@ -1,4 +1,4 @@
import glob
import glob, collections
from monsters import Monster
def parse_headers(spell_text):
@ -19,7 +19,7 @@ def parse_sections(body):
lines = body.split('\n')
cur_sec = None
cur_lines = []
secs = {}
secs = collections.OrderedDict()
skipping_leader = False
for lidx in range(len(lines) - 1):
if skipping_leader:

Loading…
Cancel
Save