Commits

Anonymous committed bf2376f

Actually move index.html into subdirectory.

Comments (0)

Files changed (1)

pep381client/__init__.py

             raise ValueError, "Status %d on %s" % (r.status, project)
         if not os.path.exists(self.homedir+'/web/simple/'+project):
             os.mkdir(self.homedir+'/web/simple/'+project)
-        with open(self.homedir + "/web/simple/" + project + 'index.html', "wb") as f:
+        with open(self.homedir + "/web/simple/" + project + '/index.html', "wb") as f:
             f.write(html)
         h.putrequest('GET', '/serversig/'+urllib2.quote(project)+'/')
         h.putheader('User-Agent', UA)