run strip() on automatic abilities[description]
parent
753386e93d
commit
2135c80654
|
@ -82,6 +82,8 @@ def main():
|
||||||
|
|
||||||
# clean up traits underneath automatic_abilities with trailing or leading whitespace
|
# clean up traits underneath automatic_abilities with trailing or leading whitespace
|
||||||
for x in i['automatic_abilities']:
|
for x in i['automatic_abilities']:
|
||||||
|
# this one line fixes leading and trailing whitespace
|
||||||
|
x['description'] = x['description'].strip()
|
||||||
traitslist = []
|
traitslist = []
|
||||||
if x['traits'] != None:
|
if x['traits'] != None:
|
||||||
if len(x['traits']) == 0:
|
if len(x['traits']) == 0:
|
||||||
|
|
Loading…
Reference in New Issue