Skip to content

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Maddock <[email protected]>
  • Loading branch information
EbonJaeger committed Oct 8, 2023
1 parent 635ca2f commit 3e72d6b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions guake/guake_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3e72d6b

Please sign in to comment.