This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
pinry
mirror of
https://github.com/pinry/pinry.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
44
Wiki
Activity
Browse Source
DoesNotExist should be ObjectDoesNotExist, oops!
pull/86/head
Jens Gutermuth
9 years ago
parent
3bcc6d3152
commit
e4b8769168
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Object
DoesNotExist()
return wrapped_func
Write
Preview
Loading…
Cancel
Save