devopshq / artifactory

dohq-artifactory: a Python client for Artifactory
https://devopshq.github.io/artifactory/
MIT License
270 stars 137 forks source link

fix: add callable check to progress_bar #379

Closed maxstrobel closed 1 year ago

maxstrobel commented 1 year ago

If progress_func is None a TypeError (TypeError: 'NoneType' object is not callable) is raised. Add check to verify that progress_func is callable.

Fixes #378.