From e14972c8a2048d950dfcc6632d97494afedd9844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=AD=D0=B4=D1=83=D0=B0=D1=80=D0=B4?= Date: Fri, 3 Oct 2025 18:20:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=B2=20=D0=BA=D0=BE=D0=BD=D1=81=D0=BE=D0=BB=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/clockify.py | 4 ++-- track.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/clockify.py b/api/clockify.py index 2f6da59..44e1e9e 100644 --- a/api/clockify.py +++ b/api/clockify.py @@ -157,10 +157,10 @@ class ClockifyAPI(ClockifyConfig): } ) if config.is_debug or resp.ok: - logger.info(f"{Fore.GREEN}{activity}{Fore.RESET}✅") + logger.info(f"{Fore.GREEN}{activity}{Fore.RESET}".ljust(60) + "✅") else: logger.debug(resp.json()) - logger.error(f"{Fore.RED}{activity}{Fore.RESET}❌") + logger.error(f"{Fore.RED}{activity}{Fore.RESET}".ljust(60) + "❌") except Exception as e: logger.error(e) return diff --git a/track.py b/track.py index b0219bb..64492bc 100644 --- a/track.py +++ b/track.py @@ -3,7 +3,7 @@ import sys logging.basicConfig( level=logging.INFO, - format='%(asctime)s - %(name)s:%(lineno)d - %(levelname)s - %(message)s', + format='%(asctime)s %(name)s:%(lineno)d %(levelname)s %(message)s', handlers=[ logging.FileHandler('app.log', encoding='utf-8'), logging.StreamHandler(sys.stdout)