ci: more lenient check for is_ci in lib.util.download

AppVeyor sets CI=True or CI=true, not CI=1
This commit is contained in:
Jeremy Apthorp 2018-07-30 15:34:38 -07:00
parent 28b6f2f46d
commit 260f7775e7

View file

@ -87,7 +87,7 @@ def download(text, url, path):
downloaded_size = 0
block_size = 128
ci = os.environ.get('CI') == '1'
ci = os.environ.get('CI') is not None
while True:
buf = web_file.read(block_size)