aboutsummaryrefslogtreecommitdiff
path: root/tools/EventClients/examples/python/example_action.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/EventClients/examples/python/example_action.py')
-rwxr-xr-xtools/EventClients/examples/python/example_action.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/EventClients/examples/python/example_action.py b/tools/EventClients/examples/python/example_action.py
index 5be3ce05bb..6de0bb3825 100755
--- a/tools/EventClients/examples/python/example_action.py
+++ b/tools/EventClients/examples/python/example_action.py
@@ -25,7 +25,7 @@ def main():
except:
try:
xbmc.send_action(sys.argv[1], ACTION_EXECBUILTIN)
- except Exception, e:
+ except Exception as e:
print(str(e))
xbmc.send_action("ActivateWindow(ShutdownMenu)")