from bootstrap import main_app
from routes import web, api
from singleton import bot_scheduller
import multiprocessing


def init():
    init_scheduller()
    main_app.app.run(debug=True)


def init_scheduller():
    multiprocessing.Process(target=bot_scheduller.run)


from bootstrap import main_app
from routes import web, api
from singleton import bot_scheduller
import multiprocessing


def init():
    init_scheduller()
    main_app.app.run(debug=True)


def init_scheduller():
    multiprocessing.Process(target=bot_scheduller.run)

