Example #1
0
def main():
    app.run(port=8080, debug=os.environ.get("DEBUG", False))
Example #2
0
File: app.py Project: vimagox/xlist
def main():
    signal.signal(signal.SIGINT, signal_handler)
    app.run(port=8000, debug=os.environ.get('DEBUG', False))