aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources
diff options
context:
space:
mode:
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