diff --git a/growlinflask/growlin.py b/growlinflask/growlin.py index 0938e9b..d0d7e76 100644 --- a/growlinflask/growlin.py +++ b/growlinflask/growlin.py @@ -177,6 +177,8 @@ def user_return(borrowid): if form.validate_on_submit(): try: current_user.unborrow(b, form.accession.data) + flash('"%(title)s" has been successfully returned' % { + 'title': b.copy.item.display_title}) except BorrowError, e: flash(e.message) else: