Tighten configuration and export handling
This commit is contained in:
@@ -30,7 +30,10 @@ def get_month_name_from_range(from_date: str, to_date: str) -> str:
|
||||
|
||||
def get_version(issue) -> str:
|
||||
"""Возвращает версию задачи или '<N/A>', если не задана."""
|
||||
return str(getattr(issue, "fixed_version", "<N/A>"))
|
||||
version = getattr(issue, "fixed_version", None)
|
||||
if version is None:
|
||||
return "<N/A>"
|
||||
return str(version)
|
||||
|
||||
|
||||
def hours_to_human(hours: float) -> str:
|
||||
|
||||
Reference in New Issue
Block a user