[gnome-music/wip/mschraal/coresong-thumbnail-prop: 174/179] mediaart: Import logger



commit 39ffe60917d7ceea8c8ce2057736f6f5692e7fe3
Author: Marinus Schraal <mschraal gnome org>
Date:   Tue Dec 24 14:10:22 2019 +0100

    mediaart: Import logger

 gnomemusic/mediaart.py | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gnomemusic/mediaart.py b/gnomemusic/mediaart.py
index bf8f3561..3b8c1818 100644
--- a/gnomemusic/mediaart.py
+++ b/gnomemusic/mediaart.py
@@ -1,9 +1,11 @@
+import logging
 from enum import Enum
 from math import pi
 
 import cairo
 from gi.repository import Gdk, GdkPixbuf, Gio, GLib, GObject, Gtk
 
+logger = logging.getLogger(__name__)
 
 def _make_icon_frame(icon_surface, art_size=None, scale=1, default_icon=False):
     border = 3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]