diff --git a/Web/app.py b/Web/app.py index 4acdda8..0edd547 100755 --- a/Web/app.py +++ b/Web/app.py @@ -3606,8 +3606,9 @@ def api_item_detail(item_id): if borrow_records: rows = [] count = 1 - while count < 3: - for rec in borrow_records: + + for rec in borrow_records: + while count < 3: user_raw = rec.get('User') try: user = decrypt_text(user_raw) if user_raw is not None else ''