This commit is contained in:
Michał Kalinowski
2024-10-21 13:16:55 +02:00
parent f6b1128778
commit b22adf75b0

View File

@@ -16,6 +16,7 @@ WEEKS_BACK = -1
CHECK_MONTH_BACK = False CHECK_MONTH_BACK = False
MONTH_VIEW = False MONTH_VIEW = False
VERBOSE = False VERBOSE = False
if "--monthview" in sys.argv: if "--monthview" in sys.argv:
MONTH_VIEW = True MONTH_VIEW = True
if "--monthback" in sys.argv: if "--monthback" in sys.argv:
@@ -137,7 +138,7 @@ def main():
worklogs = get_worklogs(issues) worklogs = get_worklogs(issues)
days = get_days_of_month(CHECK_MONTH_BACK) days = get_days_of_month(CHECK_MONTH_BACK)
worklogs = get_month_tickets(worklogs, days, CHECK_MONTH_BACK) worklogs = get_month_tickets(worklogs, days, CHECK_MONTH_BACK)
omnimat_string = get_omnimat_string(worklogs) omnimat_string = get_month_view(worklogs)
print(omnimat_string) print(omnimat_string)
else: else:
for username in USERNAMES: for username in USERNAMES: