Exemple #1
0
import sys

from controller.main import Main

Main(sys.argv).run()
import os
from controller.main import Main
from lib import config
from lib.action import dummy
from lib.poller import imap

APP_DIR = os.path.abspath(__file__)
APP_DIR = APP_DIR[0 : APP_DIR.rfind("/")]

config = config.Config(APP_DIR)
app = Main()
app.poller = imap.Imap()
app.action = dummy.Dummy()

if __name__ == "__main__":
    """ Go gadget go!"""
    app.run()
Exemple #3
0
from controller.main import Main


"author: nhpd"


if __name__ == "__main__":

    main = Main()
    main.start()