changeset 10:f8faf3cabb02

typos
author egj@socialplanning.org
date Sun, 10 Jan 2010 18:42:06 +0000
parents 619516d8c9ff
children 40b76777a880
files uploader/handlers.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/uploader/handlers.py	Sun Jan 03 19:46:31 2010 +0000
+++ b/uploader/handlers.py	Sun Jan 10 18:42:06 2010 +0000
@@ -82,8 +82,8 @@
 
     def __call__(self):
         fin = self.request.POST['file']
-        _path = path(self.app.directory, request)
-        _path = os.path.join(path, fin.filename)
-        self.write(self, fin, _path)
-        self.redirect(self.link(request.path_info))
+        _path = path(self.app.directory, self.request)
+        _path = os.path.join(_path, fin.filename)
+        self.write(fin, _path)
+        self.redirect(self.link(self.request.path_info))