Add Unstable and HasCon to ignore list

This commit is contained in:
Hamcha 2019-09-02 17:51:40 +02:00
parent 3e00511289
commit 6d15e31a1b
Signed by: hamcha
GPG Key ID: 44AD3571EB09A39E
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ def mtg_open_json(fname, verbose = False):
# filters to ignore some undesirable cards, only used when opening json
def default_exclude_sets(cardset):
return cardset == 'Unglued' or cardset == 'Unhinged' or cardset == 'Celebration'
return cardset == 'Unglued' or cardset == 'Unhinged' or cardset == "Unstable" or cardset == "HasCon 2017" or cardset == 'Celebration'
def default_exclude_types(cardtype):
return cardtype in ['conspiracy']