minor cleanup

This commit is contained in:
Bill Zorn 2017-01-17 15:57:15 -08:00
parent 88f4331a78
commit 50c903f349

View file

@ -171,7 +171,7 @@ def fields_check_valid(fields):
for idx, value in fields[field_types]: for idx, value in fields[field_types]:
if 'creature' in value: if 'creature' in value:
iscreature = True iscreature = True
elif fields.get(field_subtypes): elif field_subtypes in fields:
for idx, value in fields[field_subtypes]: for idx, value in fields[field_subtypes]:
if 'vehicle' in value: if 'vehicle' in value:
iscreature = True iscreature = True