Dependencies update

This commit is contained in:
Ruud
2011-02-08 20:34:18 +01:00
parent 6ef510457a
commit c8ba3ceb72
3 changed files with 21 additions and 13 deletions
+1
View File
@@ -37,6 +37,7 @@ except ImportError:
src_path = os.path.join(os.path.abspath(cwd), 'src') src_path = os.path.join(os.path.abspath(cwd), 'src')
sys.path.insert(0, lib_path) sys.path.insert(0, lib_path)
sys.path.insert(0, src_path) sys.path.insert(0, src_path)
print sys.path
print "Passing execution to couchpotato..." print "Passing execution to couchpotato..."
try: try:
from couchpotato import cli from couchpotato import cli
+1 -1
Submodule libs updated: e0c6438374...7c5fa9a730
+9 -2
View File
@@ -1,5 +1,12 @@
from flask import Flask
import argparse import argparse
def cmd_couchpotato(): def cmd_couchpotato():
print "Couchpotato." app = Flask(__name__)
pass
@app.route("/")
def hello():
return "Hello World!"
if __name__ == "__main__":
app.run(debug = True)