Updates the exporter to use pathlib and add a few more tests for coverage

This commit is contained in:
Trenton H
2023-01-12 12:46:28 -08:00
parent 9e33344808
commit b25f083687
3 changed files with 106 additions and 48 deletions

View File

@@ -19,7 +19,7 @@ from watchdog.observers.polling import PollingObserver
try:
from inotifyrecursive import INotify, flags
except ImportError:
except ImportError: # pragma: nocover
INotify = flags = None
logger = logging.getLogger("paperless.management.consumer")