Commit fa04b179 authored by Leo Pound Singer's avatar Leo Pound Singer

Add explicit event argument

parent 9caa53a6
......@@ -132,7 +132,7 @@ class LVAlertClient(slixmpp.ClientXMPP):
client = LVAlertClient()
async def callback(*args):
async def callback(event):
subscriptions = await client.get_subscriptions()
print('Subscribed to:', subscriptions)
......@@ -148,7 +148,7 @@ class LVAlertClient(slixmpp.ClientXMPP):
client = LVAlertClient()
async def callback(*args):
async def callback(event):
await client.subscribe('cbc_gstlal', 'cbc_pycbc')
client.stop()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment