Fix bug where .jpg files are not counted in scan list (only .jpeg)

This commit is contained in:
Julian Stirling 2025-05-23 11:45:26 +01:00
parent 8318d9daad
commit 70f4304b2e

View file

@ -40,7 +40,7 @@ BackgroundDep = direct_thing_client_dependency(
BackgroundDetectThing, "/background_detect/"
)
IMAGE_REGEX = re.compile(r"-?[0-9]+_-?[0-9]+\.jpeg$")
IMAGE_REGEX = re.compile(r"-?[0-9]+_-?[0-9]+\.jpe?g$")
class NotEnoughFreeSpaceError(IOError):