mirror of
https://gitlab.com/jrmiller82/pathfinder-2-sqlite.git
synced 2026-11-10 21:29:44 -05:00
run strip() on automatic abilities[description]
This commit is contained in:
1 parent
753386e93d
commit
2135c80654
1 file changed
+2
@@ -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:
|
||||||
|
|||||||
Reference in new issue
Block a user