summaryrefslogtreecommitdiff
path: root/examples/user_tune.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/user_tune.py')
-rwxr-xr-xexamples/user_tune.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/user_tune.py b/examples/user_tune.py
index 6aa0da8e..2ce29c1d 100755
--- a/examples/user_tune.py
+++ b/examples/user_tune.py
@@ -35,9 +35,9 @@ class TuneBot(ClientXMPP):
self.current_tune = None
- def start(self, event):
+ async def start(self, event):
self.send_presence()
- self.get_roster()
+ await self.get_roster()
self['xep_0115'].update_caps()
def _update_tune(self):