summaryrefslogtreecommitdiff
path: root/src/home/camera
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/camera')
-rw-r--r--src/home/camera/util.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/home/camera/util.py b/src/home/camera/util.py
index 39bfcd3..97f35aa 100644
--- a/src/home/camera/util.py
+++ b/src/home/camera/util.py
@@ -3,6 +3,7 @@ import os.path
import logging
import psutil
+from typing import List, Tuple
from ..util import chunks
from ..config import config
@@ -62,7 +63,7 @@ async def ffmpeg_cut(input: str,
_logger.info(f'ffmpeg_cut({input}): OK')
-def dvr_scan_timecodes(timecodes: str) -> list[tuple[int, int]]:
+def dvr_scan_timecodes(timecodes: str) -> List[Tuple[int, int]]:
tc_backup = timecodes
timecodes = timecodes.split(',')