Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @@ -233,7 +241,9 @@
- if title_tuple is None:
- raise RuntimeError("Record has no title: " + data)
- - if not force_refresh and rec.has_key("image") and rec.has_key("fanart_image") and rec["image"] is not None and rec["fanart_image"] is not None:
- + # simon edit - the eval of empty strings doesn't work
- + if not force_refresh and rec.has_key("image") and rec.has_key("fanart_image") and rec["image"] is not None and rec["fanart_image"] is not None and len(rec['image']) and len(rec['fanart_image']):
- + # end
- logging.info("We have both image and fanart_image already for %s so nothing to do (%s)", uuid, recjson)
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement