A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
todo note.
Jonas Winkleref6690905e0e
diff --git a/src/documents/file_handling.py b/src/documents/file_handling.pyindex ee7e9b761..179c97492 100644--- a/src/documents/file_handling.py+++ b/src/documents/file_handling.py@@ -10,6 +10,7 @@ def create_source_path_directory(source_path):os.makedirs(os.path.dirname(source_path), exist_ok=True)+# TODO: also make this work for archive dirdef delete_empty_directories(directory):# Go up in the directory hierarchy and try to delete all directoriesdirectory = os.path.normpath(directory)