From 50c903f349245d5d40560cd8217026657b05c133 Mon Sep 17 00:00:00 2001 From: Bill Zorn Date: Tue, 17 Jan 2017 15:57:15 -0800 Subject: [PATCH] minor cleanup --- lib/cardlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cardlib.py b/lib/cardlib.py index dbc7ca8..fdf04ed 100644 --- a/lib/cardlib.py +++ b/lib/cardlib.py @@ -171,7 +171,7 @@ def fields_check_valid(fields): for idx, value in fields[field_types]: if 'creature' in value: iscreature = True - elif fields.get(field_subtypes): + elif field_subtypes in fields: for idx, value in fields[field_subtypes]: if 'vehicle' in value: iscreature = True