[gnome-music/wip/jfelder/flatpak-submodule-lua: 7/7] albumartcache: Remote thumb uri can also be an empty string
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/flatpak-submodule-lua: 7/7] albumartcache: Remote thumb uri can also be an empty string
- Date: Sun, 30 Sep 2018 09:56:55 +0000 (UTC)
commit 1985023c1597b3bbca82b05406d4cbd40dd07844
Author: Marinus Schraal <mschraal gnome org>
Date: Fri Sep 28 14:33:58 2018 +0200
albumartcache: Remote thumb uri can also be an empty string
gnomemusic/albumartcache.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gnomemusic/albumartcache.py b/gnomemusic/albumartcache.py
index 3ad64fcf..cbda74c3 100644
--- a/gnomemusic/albumartcache.py
+++ b/gnomemusic/albumartcache.py
@@ -664,7 +664,8 @@ class RemoteArt(GObject.GObject):
thumb_uri = item.get_thumbnail()
- if thumb_uri is None:
+ if (thumb_uri is None
+ or thumb_uri == ""):
self.emit('unavailable')
return
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]