Fix typos

This commit is contained in:
Kian-Meng Ang
2022-07-01 21:26:06 +08:00
parent 07c67b09db
commit c4104ddaf4
7 changed files with 10 additions and 10 deletions

View File

@@ -263,7 +263,7 @@ def order_shelf(shelf_id):
for book in books_in_shelf:
setattr(book, 'order', to_save[str(book.book_id)])
counter += 1
# if order diffrent from before -> shelf.last_modified = datetime.utcnow()
# if order different from before -> shelf.last_modified = datetime.utcnow()
try:
ub.session.commit()
except (OperationalError, InvalidRequestError) as e: