mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-02-20 04:46:19 +00:00
Removes stray print
This commit is contained in:
parent
dd3850a3ba
commit
d7a54b0b10
1 changed files with 0 additions and 1 deletions
|
@ -70,7 +70,6 @@ def related_status(notification):
|
||||||
@register.simple_tag(takes_context=True)
|
@register.simple_tag(takes_context=True)
|
||||||
def active_shelf(context, book):
|
def active_shelf(context, book):
|
||||||
"""check what shelf a user has a book on, if any"""
|
"""check what shelf a user has a book on, if any"""
|
||||||
print(hasattr(book, "current_shelves"))
|
|
||||||
if hasattr(book, "current_shelves"):
|
if hasattr(book, "current_shelves"):
|
||||||
return book.current_shelves[0] if len(book.current_shelves) else {"book": book}
|
return book.current_shelves[0] if len(book.current_shelves) else {"book": book}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue