Commit 5da87188 authored by Jordan Petridis's avatar Jordan Petridis 🌱 Committed by Marinus Schraal

Add missing logger imports

Resolved logger.warn() calls to unitialized logger objects.

https://bugzilla.gnome.org/show_bug.cgi?id=786541
parent 3a5c39fb
......@@ -22,6 +22,7 @@
# code, but you are not obligated to do so. If you do not wish to do so,
# delete this exception statement from your version.
import logging
from gettext import gettext as _
from gi.repository import Gd, GLib, Gtk, Pango
......@@ -31,6 +32,8 @@ from gnomemusic.views.baseview import BaseView
from gnomemusic.widgets.artistalbumswidget import ArtistAlbumsWidget
import gnomemusic.utils as utils
logger = logging.getLogger(__name__)
class ArtistsView(BaseView):
"""Main view of all available artists
......
......@@ -22,6 +22,7 @@
# code, but you are not obligated to do so. If you do not wish to do so,
# delete this exception statement from your version.
import logging
from gettext import gettext as _
from gi.repository import Gd, GLib, Gtk, Pango
......@@ -31,6 +32,8 @@ from gnomemusic.player import DiscoveryStatus
from gnomemusic.views.baseview import BaseView
import gnomemusic.utils as utils
logger = logging.getLogger(__name__)
class SongsView(BaseView):
"""Main view of all songs sorted artistwise
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment