Browse Source

DoesNotExist should be ObjectDoesNotExist, oops!

pull/86/head
Jens Gutermuth 9 years ago
parent
commit
e4b8769168
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pinry/core/api.py

+ 1
- 1
pinry/core/api.py View File

@@ -63,7 +63,7 @@ def filter_generator_for(size):
for thumbnail in bundle.obj._prefetched_objects_cache['thumbnail']:
if thumbnail.size == size:
return thumbnail
raise DoesNotExist()
raise ObjectDoesNotExist()
return wrapped_func




Loading…
Cancel
Save