aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-06-22 16:41:17 +0100
committerMatthew Lemon <y@yulqen.org>2024-06-22 16:41:17 +0100
commit6a596cac664a063bd2dc9ca99f2f19664970ed01 (patch)
tree70bd0b4b7f2e72823382a5331632b3ffdfd7f47b /pyblackbird_cc/resources
parent2a53bbfd6918210a27f0b83bac963bf622b4744c (diff)
Fix erroneous return statement
Diffstat (limited to 'pyblackbird_cc/resources')
-rw-r--r--pyblackbird_cc/resources/views.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pyblackbird_cc/resources/views.py b/pyblackbird_cc/resources/views.py
index b566eee..cf6eb9d 100644
--- a/pyblackbird_cc/resources/views.py
+++ b/pyblackbird_cc/resources/views.py
@@ -35,9 +35,7 @@ def _get_pdf_collection_type(coll) -> str:
for c in coll:
if len(c) > 1:
return "MULTI_PDF_MULTI_PAGE"
- else:
- return "MULTI_PDF_SINGLE_PAGE"
- return "TODO"
+ return "MULTI_PDF_SINGLE_PAGE"
# I want to create a dataclass here to hold the resource information to pass to the view