openzim / python-scraperlib

Collection of Python code to re-use across Python-based scrapers
GNU General Public License v3.0
19 stars 16 forks source link

Return type of `stream_file` in `download.py` is incorrect #104

Closed benoit74 closed 1 year ago

benoit74 commented 1 year ago

Return type of stream_file in download.py is incorrect

https://github.com/openzim/python-scraperlib/blob/36ae90375e691af1312651b536affa08bb622dbb/src/zimscraperlib/download.py#L177

It is an Union while it should by a Tuple