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

13 lines
263 B
Plaintext
Raw Normal View History

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