mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
don't worry, I'm an expert!
This commit is contained in:
parent
07d2c9bcc5
commit
3ccc39ac9c
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ def _update_log_parent_symlinks():
|
|||
|
||||
one_year_ago = time.time() - 365 * 24 * 3600
|
||||
|
||||
logs = glob.iglob("*" + METADATA_FILE_EXT, root_dir=OPERATIONS_PATH, include_hidden=True)
|
||||
logs = glob.iglob("*" + METADATA_FILE_EXT, root_dir=OPERATIONS_PATH)
|
||||
for log_md in logs:
|
||||
log_file = os.path.join(OPERATIONS_PATH, log_md)
|
||||
if os.path.getctime(log_file) < one_year_ago:
|
||||
|
|
Loading…
Add table
Reference in a new issue