瀏覽代碼

HUE-2417 [desktop] Fix help app to look in the right place for staticfiles

Erick Tryzelaar 10 年之前
父節點
當前提交
46049b5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/appmanager.py

+ 1 - 1
desktop/core/src/desktop/appmanager.py

@@ -133,7 +133,7 @@ class DesktopModuleInfo(object):
 
     # Look for static directory in two places:
     new_style, old_style = [ os.path.abspath(p) for p in [
-      os.path.join(module_root, "static"),
+      os.path.join(module_root, "static", self.name),
       os.path.join(self.root_dir, "static")
     ]]