sugar-toolkit-gtk3/shell/sugar-presence-service
Marco Pesenti Gritti 1d370ca8e5 Minor fixes
2006-07-27 10:35:59 +02:00

16 lines
341 B
Python
Executable File

#!/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')
logging.info('Starting presence service')
PresenceService.main()