diff options
-rw-r--r-- | git/repo/base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git/repo/base.py b/git/repo/base.py index f43cc462..282dfc15 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -873,7 +873,8 @@ class Repo(object): @classmethod def _clone(cls, git, url, path, odb_default_type, progress, **kwargs): - progress = to_progress_instance(progress) + if progress is not None: + progress = to_progress_instance(progress) # special handling for windows for path at which the clone should be # created. |