aboutsummaryrefslogtreecommitdiff
path: root/src/esp32_capture.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/esp32_capture.py')
-rwxr-xr-xsrc/esp32_capture.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/esp32_capture.py b/src/esp32_capture.py
index 4a9ce10..0441565 100755
--- a/src/esp32_capture.py
+++ b/src/esp32_capture.py
@@ -5,7 +5,7 @@ import os.path
from argparse import ArgumentParser
from home.camera.esp32 import WebClient
-from home.util import parse_addr, Addr
+from home.util import Addr
from apscheduler.schedulers.asyncio import AsyncIOScheduler
from datetime import datetime
from typing import Optional
@@ -50,7 +50,7 @@ if __name__ == '__main__':
loop = asyncio.get_event_loop()
- ESP32Capture(parse_addr(arg.addr), arg.interval, arg.output_directory)
+ ESP32Capture(Addr.fromstring(arg.addr), arg.interval, arg.output_directory)
try:
loop.run_forever()
except KeyboardInterrupt: