summaryrefslogtreecommitdiffstats
path: root/src/live/ogOperations.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/live/ogOperations.py')
-rw-r--r--src/live/ogOperations.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index 0998b18..a8412c6 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -450,8 +450,7 @@ class OgLiveOperations:
logfile = open('/tmp/command.log', 'wb', 0)
if os.path.exists(image_path) and backup:
- now = datetime.datetime.now().strftime("%Y_%m_%d_%H_%M_%S")
- shutil.move(image_path, f'{image_path}_{now}')
+ shutil.move(image_path, f'{image_path}.ant')
p1 = Popen(cmd1, stdout=PIPE, stderr=logfile)
p2 = Popen(cmd2, stdin=p1.stdout)