Skip to content

Commit

Permalink
#3789 import can raise a ValueError..
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed May 25, 2023
1 parent 1ab6200 commit 25302e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/platform/xposix/appindicator_tray.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
try:
gi.require_version("AyatanaAppIndicator3", "0.1") # @UndefinedVariable
from gi.repository import AyatanaAppIndicator3 as AppIndicator3 #pylint: disable=wrong-import-order, wrong-import-position, ungrouped-imports
except ImportError:
except (ImportError, ValueError):
gi.require_version("AppIndicator3", "0.1") # @UndefinedVariable
from gi.repository import AppIndicator3 #pylint: disable=wrong-import-order, wrong-import-position, ungrouped-imports

Expand Down

0 comments on commit 25302e1

Please sign in to comment.