Commit 7bef2730 authored by André's avatar André

[hamster] Fix logging

parent 5086f4f9
import os
import dbus
import datetime as dt
import logging
from gi.repository import GObject
......@@ -13,6 +14,8 @@ from gajim.plugins.helpers import log_calls
from gajim.plugins.plugins_i18n import _
from gajim.common.const import ACTIVITIES
log = logging.getLogger('gajim.p.hamster')
HAMSTAER_INTERFACE = 'org.gnome.Hamster'
SUBACTIVITIES = []
......@@ -45,7 +48,7 @@ class HamsterIntegrationPlugin(GajimPlugin):
self.session_presence = self.bus.get_object(HAMSTAER_INTERFACE,
'/org/gnome/Hamster')
except:
app.log.debug('Hamster D-Bus service not found')
log.debug('Hamster D-Bus service not found')
return
self.bus.add_signal_receiver(self.hamster_facts_changed, 'FactsChanged',
......
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