From 22cb238002ad2ec4668e26bb1f0f9fd9c9cbb2d8 Mon Sep 17 00:00:00 2001 From: Kalev Takkis Date: Thu, 24 Oct 2024 12:05:10 +0100 Subject: [PATCH] feat: added timestamp to auto-upload tag --- viewer/target_loader.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/viewer/target_loader.py b/viewer/target_loader.py index d3168834..58823ad0 100644 --- a/viewer/target_loader.py +++ b/viewer/target_loader.py @@ -2028,8 +2028,9 @@ def process_bundle(self): # tag all new observations, so that the curator can find and # re-pose them + datestr = timezone.now().date().strftime('%Y-%m-%d') self._tag_observations( - self.version_dir, + f"{self.version_dir} {datestr}", "", TagCategory.objects.get(category="Other"), [