diff --git a/zpg/ZenPackUI.py b/zpg/ZenPackUI.py index 1a546e1..884a139 100644 --- a/zpg/ZenPackUI.py +++ b/zpg/ZenPackUI.py @@ -11,7 +11,6 @@ from .Template import Template from ._zenoss_utils import zpDir - class ZenPackUI(Template): """Build the ZenPack global js file to register components.""" @@ -21,7 +20,7 @@ def __init__(self, ZenPack): self.zenpack = ZenPack self.source_template = 'zenpackjs.tmpl' self.dest_file = "%s/resources/js/%s.js" % ( - zpDir(self.zenpack), self.zenpack.id) + zpDir(self.zenpack), self.zenpack.prepname) def write(self): # Update the components just before we need them.