mirror of
https://gitlab.com/jrmiller82/pathfinder-2-sqlite.git
synced 2026-10-12 22:29:44 -04: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
|
||||
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:
|
||||
|
||||
Reference in new issue
Block a user