From 67f8c84b7d55702fa9e4ffd4bbe18f657174b4b3 Mon Sep 17 00:00:00 2001 From: Artyom Smirnov Date: Fri, 24 Dec 2021 12:23:18 +0300 Subject: [PATCH] Add microsecond to timestamp --- custom_components/deepstack_object/image_processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/deepstack_object/image_processing.py b/custom_components/deepstack_object/image_processing.py index 0b6822a..f0da88c 100644 --- a/custom_components/deepstack_object/image_processing.py +++ b/custom_components/deepstack_object/image_processing.py @@ -78,7 +78,7 @@ CONF_SCALE = "scale" CONF_CUSTOM_MODEL = "custom_model" -DATETIME_FORMAT = "%Y-%m-%d_%H-%M-%S" +DATETIME_FORMAT = "%Y-%m-%d_%H-%M-%S-%f" DEFAULT_API_KEY = "" DEFAULT_TARGETS = [{CONF_TARGET: PERSON}] DEFAULT_TIMEOUT = 10