run strip() on automatic abilities[description]

This commit is contained in:
jrmiller82 committed 2020-02-19 23:42:18 -06:00
1 parent 753386e93d
commit 2135c80654
1 file changed
+2
+2
View File
@@ -82,6 +82,8 @@ def main():
# clean up traits underneath automatic_abilities with trailing or leading whitespace
for x in i['automatic_abilities']:
# this one line fixes leading and trailing whitespace
x['description'] = x['description'].strip()
traitslist = []
if x['traits'] != None:
if len(x['traits']) == 0: