Skip to content

Commit

Permalink
correct file name for registering components.
Browse files Browse the repository at this point in the history
  • Loading branch information
eedgar committed Aug 21, 2013
1 parent c632a3d commit 48e98c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions zpg/ZenPackUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand All @@ -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.
Expand Down

0 comments on commit 48e98c9

Please sign in to comment.