summaryrefslogtreecommitdiff
path: root/src/camera_node.py
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-06-14 23:25:58 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-06-14 23:25:58 +0300
commit93b5eb4bc5fa380e5a611a4bebdf8dc52a53127b (patch)
tree178233c8ebe7731a864097ab44bf746115310c66 /src/camera_node.py
parenta3b4510b7270c1fe8db510f7f17a6cbe2486c48a (diff)
1) fix camera_node 2) delete unused imports
Diffstat (limited to 'src/camera_node.py')
-rwxr-xr-xsrc/camera_node.py2
1 files changed, 1 insertions, 1 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: