Fix missing default arg

This commit is contained in:
Philipp Hörist 2018-11-19 15:04:04 +01:00
parent b98f0a3f76
commit 596f268f14
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class Notification:
# Detect if actions are supported by the notification daemon
if sys.platform not in ('win32', 'darwin'):
def on_proxy_ready(_source, res, _data):
def on_proxy_ready(_source, res, _data=None):
try:
proxy = Gio.DBusProxy.new_finish(res)
self._daemon_capabilities = proxy.GetCapabilities()