Commit a4317be1 authored by Xesxen's avatar Xesxen

Fix beller/bellers

parent 9ef1b3b9
......@@ -37,7 +37,7 @@ def update_mqtt():
last_num_calls = calls
client.publish('hackalot/pbx/num_calls', calls)
if calls:
client.publish('hackalot/banner/text', 'We hebben %d beller(s)!' % calls)
client.publish('hackalot/banner/text', 'We hebben %d beller<F12>%s' % (calls, 's' if calls == 0 else ''))
set_interval(update_mqtt, 2.5)
......
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