notification-hub

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

commit
5555cd65c4892ba6039805564398094cdcae0e89
parent
0ec504e5d4282a73084c9c9efc0851cc4f69fc0b
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2020-08-09 17:56
mv node_info to local scope

Diffstat

M notification_hub.py 2 +-

1 files changed, 1 insertions, 1 deletions


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

@@ -49,7 +49,6 @@ INTROSPECTION_XML = """<?xml version="1.0" encoding="UTF-8"?>
   49    49    </interface>
   50    50 </node>"""
   51    51 
   52    -1 node_info = Gio.DBusNodeInfo.new_for_xml(INTROSPECTION_XML)
   53    52 next_id = 1
   54    53 
   55    54 
@@ -74,6 +73,7 @@ def on_call(conn, sender, path, interface, method, parameters, invocation, user_
   74    73 
   75    74 
   76    75 def on_bus_acquired(conn, name, user_data=None):
   -1    76     node_info = Gio.DBusNodeInfo.new_for_xml(INTROSPECTION_XML)
   77    77     conn.register_object(FDN_PATH, node_info.interfaces[0], on_call)
   78    78 
   79    79