File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1428,12 +1428,12 @@ msgid "Loan History"
14281428msgstr ""
14291429
14301430#: openlibrary/plugins/upstream/borrow.py
1431- #, python-format
1432- msgid "Unable to return %s. Please try again later or contact info@archive.org."
1431+ msgid "this book"
14331432msgstr ""
14341433
14351434#: openlibrary/plugins/upstream/borrow.py
1436- msgid "this book"
1435+ #, python-format
1436+ msgid "Unable to return %s. Please try again later or contact info@archive.org."
14371437msgstr ""
14381438
14391439#: openlibrary/plugins/upstream/borrow.py
Original file line number Diff line number Diff line change @@ -183,7 +183,9 @@ def POST(self, key): # noqa: PLR0915
183183 if not user or not ia_itemname or not s3_keys :
184184 web .setcookie (config .login_cookie_name , "" , expires = - 1 )
185185 return_path = f"{ edition_redirect } /borrow?action={ action } "
186- redirect_url = f"/account/login?redirect={ urllib .parse .quote (return_path , safe = '' )} "
186+ redirect_url = (
187+ f"/account/login?redirect={ urllib .parse .quote (return_path , safe = '' )} "
188+ )
187189 if i ._autoReadAloud is not None :
188190 redirect_url += '&_autoReadAloud=' + i ._autoReadAloud
189191 raise web .seeother (redirect_url )
You can’t perform that action at this time.
0 commit comments