Handle also AttributeError in desktop_xdg
This commit is contained in:
parent
fcb4cc41f3
commit
60d2b392c5
|
@ -11,7 +11,7 @@ class DesktopXDG(object):
|
|||
try:
|
||||
self.desktop = Menu.parse().getMenu('Office').getMenuEntry(
|
||||
'pybitmessage.desktop').DesktopEntry
|
||||
except Exceptions.ParsingError:
|
||||
except (AttributeError, Exceptions.ParsingError):
|
||||
raise TypeError # TypeError disables startonlogon
|
||||
appimage = os.getenv('APPIMAGE')
|
||||
if appimage:
|
||||
|
|
Reference in New Issue
Block a user