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

View file

@ -68,7 +68,7 @@ def mtg_open_json(fname, verbose = False):
# filters to ignore some undesirable cards, only used when opening json # filters to ignore some undesirable cards, only used when opening json
def default_exclude_sets(cardset): 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): def default_exclude_types(cardtype):
return cardtype in ['conspiracy'] return cardtype in ['conspiracy']