Activate the logger before importing the ps, so that we
show meaningful errors if avahi is missing.
This commit is contained in:
parent
b44dac1010
commit
546dc26bea
@ -26,10 +26,10 @@ from sugar import env
|
|||||||
|
|
||||||
sys.path.insert(0, env.get_services_dir())
|
sys.path.insert(0, env.get_services_dir())
|
||||||
|
|
||||||
from presence import PresenceService
|
|
||||||
|
|
||||||
logger.start('presenceservice')
|
logger.start('presenceservice')
|
||||||
|
|
||||||
|
from presence import PresenceService
|
||||||
|
|
||||||
logging.info('Starting presence service')
|
logging.info('Starting presence service')
|
||||||
|
|
||||||
PresenceService.main()
|
PresenceService.main()
|
||||||
|
Loading…
Reference in New Issue
Block a user