Skip to content

Commit

Permalink
Also import base module using an absolute import
Browse files Browse the repository at this point in the history
  • Loading branch information
amol- committed Feb 23, 2015
1 parent 96e922a commit b6f8e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tgext/pluggable/plug.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def plug(app_config, module_name, appid=None, **kwargs):
raise AlreadyPluggedException('Pluggable application has already been plugged for this application')


module = __import__(module_name, globals(), locals(), ['plugme'], -1)
module = __import__(module_name, globals(), locals(), ['plugme'], 0)

plug_options = dict(appid=appid)
plug_options.update(kwargs)
Expand Down

0 comments on commit b6f8e02

Please sign in to comment.