Răsfoiți Sursa

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

Erick Tryzelaar 10 ani în urmă
părinte
comite
46049b5
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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")
     ]]