merge dev into master
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user