bitwarden

This commit is contained in:
jaydee
2024-09-26 22:53:34 +02:00
parent d25828653f
commit a2bfa40c5f

View File

@@ -96,7 +96,7 @@ if _ACTION == "flip":
# modified = "3:00 PM, 04 May 2009", # modified = "3:00 PM, 04 May 2009",
# accessed = "08/07/2014 18:30:45" # accessed = "08/07/2014 18:30:45"
# ) # )
print(filedate.File(_FULL_PATH + _FILE).get()) create_date = filedate.File(_FULL_PATH + _FILE).get()
print(_FULL_PATH) print(_FULL_PATH)
@@ -116,6 +116,8 @@ if _ACTION == "flip":
try: try:
shutil.move(_FILE, "__" + export_name) shutil.move(_FILE, "__" + export_name)
shutil.move(export_name, _FILE) shutil.move(export_name, _FILE)
filedate.File(_FULL_PATH + _FILE).set(create_date)
except: except:
print(f"Failed to move {export_name}") print(f"Failed to move {export_name}")
if _ACTION == "join": if _ACTION == "join":