Commit fe078e79 authored by Ghislain MARY's avatar Ghislain MARY

Prevent error when trying to download nuget.exe.

parent 5488dd41
...@@ -171,7 +171,9 @@ def check_tools(): ...@@ -171,7 +171,9 @@ def check_tools():
def download_nuget(): def download_nuget():
if not os.path.isdir('WORK'):
os.makedirs("WORK") os.makedirs("WORK")
if not os.path.isfile('WORK/nuget.exe'):
urllib.urlretrieve("https://dist.nuget.org/win-x86-commandline/latest/nuget.exe", "WORK/nuget.exe") urllib.urlretrieve("https://dist.nuget.org/win-x86-commandline/latest/nuget.exe", "WORK/nuget.exe")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment