diff --git a/Procedures,-event-hooks-and-cronjobs-as-Python-scripts.md b/Procedures,-event-hooks-and-cronjobs-as-Python-scripts.md index 9cc2e99..b4b1b23 100644 --- a/Procedures,-event-hooks-and-cronjobs-as-Python-scripts.md +++ b/Procedures,-event-hooks-and-cronjobs-as-Python-scripts.md @@ -45,7 +45,6 @@ Similarly, you can also define custom hooks: # ~/.config/platypush/scripts/test.py from platypush.event.hook import hook -from platypush.utils import run from platypush.message.event.assistant import SpeechRecognizedEvent @hook(SpeechRecognizedEvent) @@ -58,7 +57,6 @@ As well as cronjobs: # ~/.config/platypush/scripts/test.py from platypush.cron import cron -from platypush.utils import run # Run it every minute @cron('* * * * *')