comparison uploader/handlers.py @ 10:f8faf3cabb02

typos
author egj@socialplanning.org
date Sun, 10 Jan 2010 18:42:06 +0000
parents 619516d8c9ff
children 40b76777a880
comparison
equal deleted inserted replaced
9:619516d8c9ff 10:f8faf3cabb02
80 if os.path.exists(_path) and os.path.isdir(_path): 80 if os.path.exists(_path) and os.path.isdir(_path):
81 return True 81 return True
82 82
83 def __call__(self): 83 def __call__(self):
84 fin = self.request.POST['file'] 84 fin = self.request.POST['file']
85 _path = path(self.app.directory, request) 85 _path = path(self.app.directory, self.request)
86 _path = os.path.join(path, fin.filename) 86 _path = os.path.join(_path, fin.filename)
87 self.write(self, fin, _path) 87 self.write(fin, _path)
88 self.redirect(self.link(request.path_info)) 88 self.redirect(self.link(self.request.path_info))
89 89