Default profiles

Profile JS fixes
This commit is contained in:
Ruud
2011-09-07 00:11:19 +02:00
parent 1c8f1ae98d
commit 4de1df79ad
8 changed files with 64 additions and 10 deletions
+5
View File
@@ -115,8 +115,10 @@ def runCouchPotato(options, base_path, args):
latest_db_version = version(repo)
initialize = True
try:
current_db_version = db_version(db, repo)
initialize = False
except:
version_control(db, repo, version = latest_db_version)
current_db_version = db_version(db, repo)
@@ -131,6 +133,9 @@ def runCouchPotato(options, base_path, args):
fireEventAsync('app.load')
if initialize:
fireEventAsync('app.initialize')
# Create app
from couchpotato import app
api_key = Env.setting('api_key')