sugar-toolkit-gtk3/shell/sugar-presence-service

14 lines
298 B
Plaintext
Raw Normal View History

#!/usr/bin/python
import logging
import sugar.env
from PresenceService import PresenceService
# FIXME this looks like duplicated
level = sugar.env.get_logging_level()
if level == 'debug':
logging.basicConfig(level=logging.DEBUG,
format='%(levelname)s %(message)s')
PresenceService.main()