added labels to comic list.

This commit is contained in:
2015-06-19 13:32:07 +01:00
parent 654af1f402
commit e6791bf41a
5 changed files with 49 additions and 10 deletions

View File

@@ -31,6 +31,7 @@ def read_comic(request, comic_path, page):
book = ComicBook.objects.get(file_name=comic_file_name)
except ComicBook.DoesNotExist:
book = ComicBook.process_comic_book(base_dir, decoded_path, comic_file_name)
book.unread = False
book.last_read_page = page
book.save()
context = RequestContext(request, {