diff --git a/eessi_bot_event_handler.py b/eessi_bot_event_handler.py index 3f9a8e1..a832983 100644 --- a/eessi_bot_event_handler.py +++ b/eessi_bot_event_handler.py @@ -640,7 +640,7 @@ def handle_pull_request_closed_event(self, event_info, pr): repo_name = request_body['repository']['full_name'] dt = datetime.now(timezone.utc) - trash_bin_dir = "/".join([trash_bin_root_dir, repo_name, dt.strftime('%Y%m%d')]) + trash_bin_dir = "/".join([trash_bin_root_dir, repo_name, dt.strftime('%Y%m.%d')]) # Subdirectory with date of move. Also with repository name. Handle symbolic links (later?) # cron job deletes symlinks?