0
This commit is contained in:
@@ -4,6 +4,7 @@ from datetime import datetime
|
||||
|
||||
@dataclass
|
||||
class Activity:
|
||||
id: str
|
||||
task_id: int
|
||||
task_title: str
|
||||
description: str
|
||||
@@ -15,7 +16,7 @@ class Activity:
|
||||
return self.description.startswith("*")
|
||||
|
||||
def __str__(self):
|
||||
return f'{self.date}: {self.description.strip("*")} для задачи "{self.task_title}"' + (" - ЗАТРЕКАНА" if self.is_tracked else "")
|
||||
return f'{self.date}: {self.description.strip("*")} для задачи "{self.task_title}"'
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
Reference in New Issue
Block a user