Skip to content

Commit

Permalink
pass handler to repo provider
Browse files Browse the repository at this point in the history
  • Loading branch information
rprimet committed Oct 22, 2020
1 parent 87e78af commit 2c09d72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion binderhub/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ def get_provider(self, provider_prefix, spec):
raise web.HTTPError(404, "No provider found for prefix %s" % provider_prefix)

return providers[provider_prefix](
config=self.settings['traitlets_config'], spec=spec)
config=self.settings['traitlets_config'],
spec=spec,
handler=self)

def get_badge_base_url(self):
badge_base_url = self.settings['badge_base_url']
Expand Down

0 comments on commit 2c09d72

Please sign in to comment.