From 7a905d4ec211ae504c644340b607f9ebd05096e2 Mon Sep 17 00:00:00 2001 From: im85288 Date: Tue, 24 Mar 2015 18:58:13 +0000 Subject: [PATCH] change art_types to a set --- resources/lib/WriteKodiDB.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/WriteKodiDB.py b/resources/lib/WriteKodiDB.py index 2e1754c5..feee3b71 100644 --- a/resources/lib/WriteKodiDB.py +++ b/resources/lib/WriteKodiDB.py @@ -942,7 +942,7 @@ class WriteKodiDB(): artwork["discart"] = API().getArtwork(boxset, "Disc") artwork["fanart"] = API().getArtwork(boxset, "Backdrop") - art_types = {'poster','fanart','landscape','clearlogo','clearart','banner','discart'} + art_types = ['poster','fanart','landscape','clearlogo','clearart','banner','discart'] for update_type in art_types: if ( update_type in existing_type_map ): if ( existing_type_map[update_type] != artwork[update_type] ) and artwork[update_type] != '':