From 17bc207e3bf8a4fc269a0c3abc00449adb464864 Mon Sep 17 00:00:00 2001 From: Bobrock Date: Fri, 18 Dec 2020 08:51:16 -0600 Subject: [PATCH] Add description to new example. Swap import on original example --- examples/download_motions.py | 1 + examples/streaming_video.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/download_motions.py b/examples/download_motions.py index 31f66f8..66d92da 100644 --- a/examples/download_motions.py +++ b/examples/download_motions.py @@ -1,3 +1,4 @@ +"""Downloads all motion events from camera from the past hour.""" import os from configparser import RawConfigParser from datetime import datetime as dt, timedelta diff --git a/examples/streaming_video.py b/examples/streaming_video.py index d67b1d0..8f0a01b 100644 --- a/examples/streaming_video.py +++ b/examples/streaming_video.py @@ -1,5 +1,5 @@ import cv2 -from reolink_api.Camera import Camera +from reolink_api import Camera def non_blocking():