Compare commits

...

2 Commits

2 changed files with 3 additions and 3 deletions

View File

@@ -157,10 +157,10 @@ class ClockifyAPI(ClockifyConfig):
)
if resp.ok:
logger.debug(resp.json())
logger.info(f"{Fore.GREEN} {activity} помечена как затреканная{Fore.RESET}")
logger.info(f"{Fore.GREEN}{activity}{Fore.RESET}")
else:
logger.debug(resp.json())
logger.error(f"{Fore.RED} {activity} не помечена как затреканная{Fore.RESET}")
logger.error(f"{Fore.RED}{activity}{Fore.RESET}")
except Exception as e:
logger.error(e)
return

View File

@@ -19,7 +19,7 @@ class Activity:
is_tracked: bool = False
def __str__(self):
return f'|{self.date_start + timedelta(hours=3)}| {self.description} для задачи #{self.task_id}'
return f'({self.task_id}) - {self.description};'
@dataclass