mirror of
https://gitlab.sectorq.eu/jaydee/python.git
synced 2025-12-14 18:44:53 +01:00
bitwarden
This commit is contained in:
@@ -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":
|
||||||
|
|||||||
Reference in New Issue
Block a user