change art_types to a set

This commit is contained in:
im85288 2015-03-24 18:58:13 +00:00
parent 7e33194e84
commit 7a905d4ec2
1 changed files with 1 additions and 1 deletions

View File

@ -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] != '':