ipcam_server: update
This commit is contained in:
parent
0dc38ac37f
commit
03b2d0a2ae
@ -330,11 +330,8 @@ async def process_fragments(camera: int,
|
||||
start_pos=start,
|
||||
duration=duration)
|
||||
|
||||
try:
|
||||
if fragments and config['motion']['telegram']:
|
||||
asyncio.ensure_future(motion_notify_tg(camera, filename, fragments))
|
||||
except KeyError:
|
||||
pass
|
||||
if fragments and 'telegram' in config['motion'] and config['motion']['telegram']:
|
||||
asyncio.ensure_future(motion_notify_tg(camera, filename, fragments))
|
||||
|
||||
|
||||
async def motion_notify_tg(camera: int,
|
||||
|
Loading…
x
Reference in New Issue
Block a user