Просмотр исходного кода

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

Erick Tryzelaar 10 лет назад
Родитель
Сommit
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")
     ]]