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 authored and adriendelsalle committed Mar 18, 2021
1 parent 91e6bdd commit d0c8c7e
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 @@ -78,7 +78,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 d0c8c7e

Please sign in to comment.