diff --git a/lib/osxnotify/registerapp.py b/lib/osxnotify/registerapp.py index 34006ee0..55a84b20 100644 --- a/lib/osxnotify/registerapp.py +++ b/lib/osxnotify/registerapp.py @@ -129,5 +129,5 @@ if __name__ == '__main__': return app_path, 'App registered' - except Exception, e: + except Exception as e: return None, 'Error creating App %s. %s' % (app_path, e) \ No newline at end of file