mirror of
https://gitlab.sectorq.eu/jaydee/omv_backup.git
synced 2025-09-13 12:10:12 +02:00
build
This commit is contained in:
@@ -676,15 +676,6 @@ def backup_job(pl):
|
|||||||
logging.info(f"Last from day: {last}")
|
logging.info(f"Last from day: {last}")
|
||||||
for d in multiple_per_day[f]:
|
for d in multiple_per_day[f]:
|
||||||
logging.info(f"Looping multiple_per_day : {f} : {d}")
|
logging.info(f"Looping multiple_per_day : {f} : {d}")
|
||||||
dt = datetime.datetime.strptime(d, "%Y-%m-%d_%H-%M-%S")
|
|
||||||
epoch_time = int(dt.timestamp())
|
|
||||||
if last == 0:
|
|
||||||
last = epoch_time
|
|
||||||
|
|
||||||
if last > epoch_time:
|
|
||||||
to_remove.append(d)
|
|
||||||
last = epoch_time
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user