diff --git a/project.py b/project.py index f48472b4..f1a931c6 100644 --- a/project.py +++ b/project.py @@ -1529,7 +1529,7 @@ class Project(object): p = None try: - size = r.headers['content-length'] + size = r.headers.get('content-length', 0) unit = 1 << 10 if size and not quiet: