Fix crash on attempting to run
This commit is contained in:
parent
74f664d0d2
commit
7b39cadae8
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ class Discover:
|
|||
AppIndicator3.IndicatorCategory.APPLICATION_STATUS)
|
||||
self.ind.set_status(AppIndicator3.IndicatorStatus.ACTIVE)
|
||||
self.ind.set_menu(menu)
|
||||
except ImportError as exception:
|
||||
except (ImportError, ValueError) as exception:
|
||||
# Create System Tray
|
||||
logging.info("Falling back to Systray : %s", exception)
|
||||
self.tray = Gtk.StatusIcon.new_from_icon_name("discover-overlay")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue