fixed static dir of plinth-modules

This commit is contained in:
fonfon 2014-09-09 16:20:35 +02:00
parent f2d8267ef1
commit d661b64a33

View File

@ -99,7 +99,8 @@ def setup_server():
# our modules to Django apps instead of reinventing the wheel.
# (we'll still have to serve the static files with cherrypy though)
for module in module_loader.LOADED_MODULES:
static_dir = os.path.join(cfg.file_root, 'modules', module, 'static')
static_dir = os.path.join(cfg.file_root, 'plinth', 'modules', module,
'static')
if not os.path.isdir(static_dir):
continue