Skip to content

Commit

Permalink
[#2617] fix fanstatic groups
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Jun 28, 2012
1 parent 6ea7d58 commit 76c362c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckan/html_resources/__init__.py
Expand Up @@ -135,7 +135,8 @@ def create_resource(filename, path, filepath):
fanstatic_name = '%s/%s' % (path, member)
members.append(getattr(module, fanstatic_name))
group = Group(members)
setattr(module, group_name, group)
fanstatic_name = '%s/%s' % (path, group_name)
setattr(module, fanstatic_name, group)
# finally add the library to this module
setattr(module, name, library)
# add to fanstatic
Expand Down

0 comments on commit 76c362c

Please sign in to comment.