Formatting

This commit is contained in:
Nick Mowen 2023-06-15 07:23:43 -06:00
parent 4c9243d0ce
commit 24cc2f1f80

View File

@ -158,9 +158,7 @@ class RecordingMaintainer(threading.Thread):
self.end_time_cache[cache_path] = (end_time, duration) self.end_time_cache[cache_path] = (end_time, duration)
else: else:
if duration == -1: if duration == -1:
logger.warning( logger.warning(f"Failed to probe corrupt segment {cache_path}")
f"Failed to probe corrupt segment {cache_path}"
)
logger.warning(f"Discarding a corrupt recording segment: {cache_path}") logger.warning(f"Discarding a corrupt recording segment: {cache_path}")
Path(cache_path).unlink(missing_ok=True) Path(cache_path).unlink(missing_ok=True)