fixed issue 1109
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.2.1 (2012-10-25 10:07:33) stable
|
||||
Version 2.2.1 (2012-10-25 10:11:45) stable
|
||||
|
||||
+4
-1
@@ -388,7 +388,10 @@ class Response(Storage):
|
||||
if not items:
|
||||
raise HTTP(404)
|
||||
(t, f) = (items.group('table'), items.group('field'))
|
||||
field = db[t][f]
|
||||
try:
|
||||
field = db[t][f]
|
||||
except AttributeError:
|
||||
raise HTTP(404)
|
||||
try:
|
||||
(filename, stream) = field.retrieve(name)
|
||||
except IOError:
|
||||
|
||||
Reference in New Issue
Block a user