diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/camera_node.py | 2 | ||||
-rw-r--r-- | src/home/media/node_client.py | 1 | ||||
-rwxr-xr-x | src/sound_bot.py | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/src/camera_node.py b/src/camera_node.py index 206361a..f920837 100755 --- a/src/camera_node.py +++ b/src/camera_node.py @@ -51,7 +51,7 @@ class ESP32CameraNodeServer(MediaNodeServer): await self.sync_settings_if_needed() # sync settings - return super().do_record(request) + return await super().do_record(request) async def sync_settings_if_needed(self): if self.last_settings_sync != 0 and time.time() - self.last_settings_sync < 300: diff --git a/src/home/media/node_client.py b/src/home/media/node_client.py index 18f0779..4430962 100644 --- a/src/home/media/node_client.py +++ b/src/home/media/node_client.py @@ -5,7 +5,6 @@ import logging from typing import Optional, Union from .storage import RecordFile from ..util import Addr -from ..camera.types import CameraType from ..api.errors import ApiResponseError diff --git a/src/sound_bot.py b/src/sound_bot.py index e45893d..b515ae7 100755 --- a/src/sound_bot.py +++ b/src/sound_bot.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 import logging import os -import time import tempfile from enum import Enum |