Changes Flask initalization.

This commit is contained in:
alshain
2011-02-10 21:18:55 +01:00
parent aa0c2f471a
commit 34acf6f225
2 changed files with 9 additions and 8 deletions
+4
View File
@@ -0,0 +1,4 @@
"""Couchpotato."""
from flask import Flask
app = Flask(__name__)
+5 -8
View File
@@ -1,11 +1,8 @@
from flask import Flask
from couchpotato import app
import argparse
def cmd_couchpotato():
app = Flask(__name__)
# @app.route("/")
# def hello():
# return "Hello World!"
app.run(debug = True)
"""Commandline entry point."""
# Make sure views are imported and registered.
import couchpotato.views
app.run(debug=True)