Merge pull request #5 from weirdtangent/fix/unbound-local-error-file-name

fix: prevent UnboundLocalError when large recordings are skipped
pull/106/head
Jeff Culverhouse 2 weeks ago committed by GitHub
commit 5c0588bdd4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -292,6 +292,8 @@ class HelpersMixin:
return file_name
return None
async def cleanup_old_recordings(self: Amcrest2Mqtt) -> None:
media_path = self.config["media"].get("path")
retention_days = self.config["media"].get("retention_days", 7)

Loading…
Cancel
Save