from flask_script import Manager from twittor import create_app app = create_app() manager = Manager(app) if __name__ == "__main__": manager.run()
import os import sys sys.path.insert(0, os.getcwd()) from twittor import create_app application = create_app()