[gnome-music/wip/mschraal/window-cleanup: 5/5] window: Minor style fix



commit d90af7b07ab59c33943db9c79a2c0e2a8909d3fb
Author: Marinus Schraal <mschraal gnome org>
Date:   Wed Sep 5 15:29:20 2018 +0200

    window: Minor style fix

 gnomemusic/window.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index 0f5473e0..d6449d3d 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -192,8 +192,7 @@ class Window(Gtk.ApplicationWindow):
             else:
                 self._switch_to_empty_view()
 
-        Query()
-        if Query.music_folder:
+        if Query().music_folder:
             grilo.songs_available(songs_available_cb)
         else:
             self._switch_to_empty_view()


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