Merge branch 'refactor/63-dead-code'

This commit is contained in:
Кокос Артем Николаевич
2026-07-17 13:51:53 +07:00
2 changed files with 1 additions and 8 deletions

View File

@@ -422,10 +422,6 @@ def main(argv: Optional[List[str]] = None) -> int:
logging.exception("Unexpected error") logging.exception("Unexpected error")
return 1 return 1
if issue_hours is None:
print(" No time entries found in the given period.", file=sys.stderr)
return 0
if not issue_hours: if not issue_hours:
print(" No time entries found in the given period.", file=sys.stderr) print(" No time entries found in the given period.", file=sys.stderr)
return 0 return 0

View File

@@ -39,9 +39,6 @@ class XLSXFormatter(Formatter):
def format(self, rows: List[ReportRow]) -> Workbook: def format(self, rows: List[ReportRow]) -> Workbook:
wb = Workbook() wb = Workbook()
ws = wb.active ws = wb.active
if ws is None:
ws = wb.create_sheet("Report")
else:
ws.title = "Report" ws.title = "Report"
headers = [ headers = [