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:
parent
28b6f2f46d
commit
260f7775e7
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ def download(text, url, path):
|
||||||
downloaded_size = 0
|
downloaded_size = 0
|
||||||
block_size = 128
|
block_size = 128
|
||||||
|
|
||||||
ci = os.environ.get('CI') == '1'
|
ci = os.environ.get('CI') is not None
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
buf = web_file.read(block_size)
|
buf = web_file.read(block_size)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue