[TYPO]On backup plan.py
This commit is contained in:
parent
981366a1a3
commit
528425a579
@ -29,11 +29,9 @@ def notkeep(fname):
|
||||
if delta.days > 365:
|
||||
return True
|
||||
elif delta.days > 31:
|
||||
# if (delta.days %% 30) != 0:
|
||||
if save_date.day != 1:
|
||||
return True
|
||||
elif delta.days > 7:
|
||||
# if (delta.days %% 7) != 0:
|
||||
if (save_date.weekday() != 0) and (save_date.day != 1):
|
||||
return True
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user