Skip to content

First days of a year error #15

@msamiboz

Description

@msamiboz

Due to the line
for i in range(2017, date.today().year + 1):
in the cot_all function, the function raises an error each year until the first data becomes available.

This happens because there is no data for the new year yet, but range automatically includes it starting from January 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions