Explorar o código

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

Erick Tryzelaar %!s(int64=10) %!d(string=hai) anos
pai
achega
46049b5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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")
     ]]