Commit cb8c84f6 authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 4a905dc5
...@@ -343,12 +343,6 @@ def add_to_correct_copy(image_path, barcode): ...@@ -343,12 +343,6 @@ def add_to_correct_copy(image_path, barcode):
return copy return copy
def retrieve_page(copy, page_number):
"""Returns a page associated with the given copy and page number"""
return (Page.query.filter(Page.copy == copy, Page.number == page_number).one_or_none() or
Page(copy=copy, number=page_number))
def decode_barcode(image, exam_config): def decode_barcode(image, exam_config):
"""Extract a barcode from a PIL Image.""" """Extract a barcode from a PIL Image."""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment