Activate the logger before importing the ps, so that we

show meaningful errors if avahi is missing.
This commit is contained in:
Marco Pesenti Gritti 2006-10-29 22:43:52 +01:00
parent b44dac1010
commit 546dc26bea

View File

@ -26,10 +26,10 @@ from sugar import env
sys.path.insert(0, env.get_services_dir())
from presence import PresenceService
logger.start('presenceservice')
from presence import PresenceService
logging.info('Starting presence service')
PresenceService.main()