music-dl/src/main.py

22 lines
502 B
Python
Raw Normal View History

2018-01-24 17:43:35 -06:00
# -*- coding: utf-8 -*-
import i18n
import widgetUtils
import logging
import application
from platform_utils import paths
logging.basicConfig()
log = logging.getLogger("main")
def setup():
log.debug("Starting music-dl %s" % (application.version,))
log.debug("Application path is %s" % (paths.app_path(),))
i18n.setup()
from controller import mainController
app = widgetUtils.mainLoopObject()
log.debug("Created Application mainloop object")
r = mainController.Controller()
app.run()
setup()