From 4a97d19796e8b9d89beb744607a877b53cb8ec18 Mon Sep 17 00:00:00 2001 From: Evan Maddock Date: Sun, 8 Oct 2023 17:16:16 -0400 Subject: [PATCH] Fix linting issue Signed-off-by: Evan Maddock --- guake/guake_app.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/guake/guake_app.py b/guake/guake_app.py index 9d55f5a56..48074dbe8 100644 --- a/guake/guake_app.py +++ b/guake/guake_app.py @@ -153,14 +153,14 @@ def load_schema(): try: try: gi.require_version("AyatanaAppIndicator3", "0.1") - from gi.repository import ( + from gi.repository import ( # pylint: disable=import-outside-toplevel AyatanaAppIndicator3 as appindicator, - ) # pylint: disable=import-outside-toplevel + ) except (ValueError, ImportError): gi.require_version("AppIndicator3", "0.1") - from gi.repository import ( + from gi.repository import ( # pylint: disable=import-outside-toplevel AppIndicator3 as appindicator, - ) # pylint: disable=import-outside-toplevel + ) except (ValueError, ImportError): self.tray_icon = Gtk.StatusIcon() self.tray_icon.set_from_file(img)