From 9bb3889bdcbed2e6ddea1f4099d3fe56bfffd5d5 Mon Sep 17 00:00:00 2001 From: tomerlf1 Date: Wed, 28 Feb 2024 18:41:32 +0200 Subject: [PATCH] adjusted tasks progress prints to not overwrite --- gce_rescue/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gce_rescue/utils.py b/gce_rescue/utils.py index a48d537..e7305b9 100644 --- a/gce_rescue/utils.py +++ b/gce_rescue/utils.py @@ -165,8 +165,8 @@ def inner(*args, **kwargs): if task_index and total_tasks: _logger.info('Progress: %i/%i tasks completed', task_index, total_tasks) - print(f'finished {task_func.__name__} {task_index}/{total_tasks}' - f' tasks completed') + print('\n', f'finished {task_func.__name__} {task_index}/{total_tasks}' + f' tasks completed') return res