Compare commits

..

No commits in common. "5bd46ca3a16882613ae7b0b73e5436cff4e97a9e" and "dee98c9c1e3fb1f9cc1fec416b7bd98d9c65ccbf" have entirely different histories.

View File

@ -88,10 +88,6 @@ class FileStorage:
p = os.path.abspath(os.path.join(self.root,path)) p = os.path.abspath(os.path.join(self.root,path))
return p return p
def webpath(self, path):
if path.startswith(self.root):
return path[len(self.root):]
def _name2path(self,name, userid=None): def _name2path(self,name, userid=None):
name = os.path.basename(name) name = os.path.basename(name)
paths=[191,193,197,97] paths=[191,193,197,97]