From f22a71e9428cae75711540cf62c081b25c449fd7 Mon Sep 17 00:00:00 2001 From: jaydee Date: Thu, 26 Sep 2024 23:18:22 +0200 Subject: [PATCH] bitwarden --- handle_imported_video.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/handle_imported_video.py b/handle_imported_video.py index eb48fa2..000a62a 100644 --- a/handle_imported_video.py +++ b/handle_imported_video.py @@ -129,7 +129,11 @@ if _ACTION == "flip": shutil.move(_FILE, "__" + export_name) shutil.move(export_name, _FILE) - filedate.File(_FULL_PATH + _FILE).set(create_date) + filedate.File(_FULL_PATH + _FILE).set( + created = create_date["created"], + modified = create_date["modified"], + accessed = create_date["accessed"] + ) except ValueError as e: print(e) print(f"Failed to move {export_name}")