From e78501a0cc3944d0922e734bd3ba196aca160abd Mon Sep 17 00:00:00 2001 From: Jan Oliver Oelerich Date: Sun, 25 Oct 2015 20:41:42 +0100 Subject: [PATCH] Update desktop.py Fixed syntax error. --- i3pystatus/core/desktop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3pystatus/core/desktop.py b/i3pystatus/core/desktop.py index b176d3d..fca0020 100644 --- a/i3pystatus/core/desktop.py +++ b/i3pystatus/core/desktop.py @@ -33,7 +33,7 @@ try: import gi gi.require_version('Notify', '0.7') from gi.repository import Notify -except ImportError, ValueError: +except (ImportError, ValueError): pass else: if not Notify.init("i3pystatus"):