diff --git a/sau/services.py b/sau/services.py index 344e69f..c4577d2 100644 --- a/sau/services.py +++ b/sau/services.py @@ -185,7 +185,7 @@ def restart_services(): if get_deleted_open_files(proc): service = services[proc_name] policy = _get_service_restart_policy(service) - _warn(policy, '{} still has deleted files open'.format(proc, parent)) + _warn(policy, f'{proc} still has deleted files open') recommend_restart = True return recommend_restart