1. PyPA
  2. Python Packaging Authority Projects
  3. pypi

Commits

ewdurbin  committed e7b89eb

ommitted self.

  • Participants
  • Parent commits 122ccc2
  • Branches default

Comments (0)

Files changed (1)

File webui.py

View file
  • Ignore whitespace
     # OAuth
     #
     def run_oauth(self):
-        if env.get('HTTP_X_FORWARDED_PROTO') != 'https':
+        if self.env.get('HTTP_X_FORWARDED_PROTO') != 'https':
             raise NotFound('HTTPS must be used to access this URL')
 
         path = self.env.get('PATH_INFO')