From d661b64a3325e7fc799a4eddd2372de6832f456d Mon Sep 17 00:00:00 2001 From: fonfon Date: Tue, 9 Sep 2014 16:20:35 +0200 Subject: [PATCH] fixed static dir of plinth-modules --- plinth/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plinth/__main__.py b/plinth/__main__.py index dcfc6cf0d..24e2214b2 100644 --- a/plinth/__main__.py +++ b/plinth/__main__.py @@ -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