Skip to content
Snippets Groups Projects
Commit feb7a523 authored by ptangu01's avatar ptangu01
Browse files

ignore tox env

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@1379 b32b6428-25c9-4566-ad07-03861ab6144f
parent ed6b302e
No related branches found
No related tags found
No related merge requests found
...@@ -17,3 +17,6 @@ settings.py ...@@ -17,3 +17,6 @@ settings.py
# bower # bower
bower_components bower_components
# tox
.tox
...@@ -35,10 +35,11 @@ class DesktopNotification(xAAL.devices.VirtualDevice): ...@@ -35,10 +35,11 @@ class DesktopNotification(xAAL.devices.VirtualDevice):
def notify(self,title,msg): def notify(self,title,msg):
if Notify.init("xAALDesktopNotification"): if Notify.init("xAALDesktopNotification"):
notify = Notify.Notification.new('xAAL message: %s' % title,msg,"dialog-information") notify = Notify.Notification.new('xAAL message: %s' % title,msg,"dialog-information")
print(notify)
try: try:
notify.show() notify.show()
except: except Exception as e:
pass logger.info(e)
# Todo: handling exception # Todo: handling exception
notify.exposed=True notify.exposed=True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment