Commits

Matthew Marshall  committed 172feb8

Fixed loading htpasswd file (I think.)

  • Participants
  • Parent commits 71ed340

Comments (0)

Files changed (1)

File htpasswdutils.py

         self.filename = filename
         if mode != 'c' or os.path.exists(filename):
             file = open(filename, "r")
-            for line in self.file:
+            for line in file:
                 k, v = line.split(':',1)
                 self.records[k] = v
             file.close()