notification-hub

distraction-free notification daemon for simple linux desktops.
git clone https://git.ce9e.org/notification-hub.git

commit
8a86660be5247fd1f3999a6de7c1310ede5d92c5
parent
3193225533fbb46f27c3a5d47f816d12b4915251
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2022-02-12 18:28
rm debug output

Diffstat

M notification_hub.py 3 +--

1 files changed, 1 insertions, 2 deletions


diff --git a/notification_hub.py b/notification_hub.py

@@ -111,6 +111,7 @@ def on_call(
  111   111     conn, sender, path, interface, method, params, invocation, user_data=None
  112   112 ):
  113   113     global next_id
   -1   114 
  114   115     if method == 'GetCapabilities':
  115   116         # announce fake capabilities to avoid firefox fallback
  116   117         reply = GLib.Variant('(as)', [['actions', 'body', 'body-hyperlinks']])
@@ -138,8 +139,6 @@ def on_call(
  138   139         info = ['notification-hub', 'xi', __version__, '1.2']
  139   140         invocation.return_value(GLib.Variant('(ssss)', info))
  140   141         conn.flush()
  141    -1     else:
  142    -1         print(f'Unknown method: {method}')
  143   142 
  144   143 
  145   144 def on_bus_acquired(conn, name, user_data=None):