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 authored and Davidy22 committed Oct 9, 2023
1 parent 91e5c2c commit 4a97d19
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 4a97d19

Please sign in to comment.