BALLOON {TOP,BOTTOM} tags

This commit is contained in:
Mattias Andrée 2012-10-30 22:38:03 +01:00
parent 78979de1fd
commit 940e3489d2

View file

@ -318,9 +318,10 @@ class PonysayTool():
data['comment'] = '\n'.join(comment)
fields = [key for key in data]
fields.sort()
standardfields = ['GROUP NAME', 'NAME', 'OTHER NAMES', 'APPEARANCE', 'KIND', 'GROUP',
'BALLOON', 'LINK', 'LINK ON', 'COAT', 'MANE', 'EYE', 'AURA', 'DISPLAY',
'MASTER', 'SOURCE', 'MEDIA', 'LICENSE', 'FREE', 'comment']
standardfields = ['GROUP NAME', 'NAME', 'OTHER NAMES', 'APPEARANCE', 'KIND',
'GROUP', 'BALLOON', 'LINK', 'LINK ON', 'COAT', 'MANE', 'EYE',
'AURA', 'DISPLAY', 'BALLOON TOP', 'BALLOON BOTTOM', 'MASTER',
'SOURCE', 'MEDIA', 'LICENSE', 'FREE', 'comment']
for standard in standardfields:
if standard in fields:
del fields[fields.index(standard)]