tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

auth.py (405B)


      1 import os
      2 
      3 from wptserve.utils import isomorphic_decode
      4 
      5 from tools.wpt.utils import load_source
      6 
      7 here = os.path.dirname(os.path.abspath(isomorphic_decode(__file__)))
      8 
      9 
     10 def main(request, response):
     11    auth = load_source(u"", os.path.join(here,
     12                                             u"..",
     13                                             u"authentication.py"))
     14    return auth.main(request, response)