Event fixes

This commit is contained in:
Ruud committed 2012-02-11 02:49:35 +01:00
1 parent e4588a5e7e
commit cfadd851bf
14 files changed
+115 -98

No files matched your search

+3 -2
View File
@@ -10,8 +10,8 @@ import locale
import logging
import os.path
import sys
import traceback
import time
import traceback
def getOptions(base_path, args):
@@ -180,7 +180,8 @@ def runCouchPotato(options, base_path, args, desktop = None):
}
# Static path
web.add_url_rule('static/<path:filename>',
app.static_folder = os.path.join(base_path, 'couchpotato', 'static')
web.add_url_rule('%s/static/<path:filename>' % api_key,
endpoint = 'static',
view_func = app.send_static_file)