aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources/utils.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-10-15 21:01:31 +0100
committerMatthew Lemon <y@yulqen.org>2024-10-15 21:01:31 +0100
commiteeaddb27560d723ca7d61359744ceb2709fccd2d (patch)
tree04ddbc49ae7b73d5f5a9e1716d7227aecd3b9f85 /pyblackbird_cc/resources/utils.py
parent7a3044c859043837e6c7c95bb4894d04e9b2cbc2 (diff)
Renamed from pyblackbird_cc to alphabetlearning - everywhere
Diffstat (limited to 'pyblackbird_cc/resources/utils.py')
-rw-r--r--pyblackbird_cc/resources/utils.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/pyblackbird_cc/resources/utils.py b/pyblackbird_cc/resources/utils.py
deleted file mode 100644
index d17aa69..0000000
--- a/pyblackbird_cc/resources/utils.py
+++ /dev/null
@@ -1,10 +0,0 @@
-def _get_pdf_collection_type(coll) -> str:
- if len(coll) == 1 and len(coll[0]) == 1:
- return "SINGLE_PDF_SINGLE_PAGE"
- if len(coll) == 1 and len(coll[0]) > 1:
- return "SINGLE_PDF_MULTI_PAGE"
- if len(coll) > 1:
- for c in coll:
- if len(c) > 1:
- return "MULTI_PDF_MULTI_PAGE"
- return "MULTI_PDF_SINGLE_PAGE"