Fix the download script on windows (#6)
This commit is contained in:
parent
d3bd6a3093
commit
fcda5d7107
1 changed files with 25 additions and 23 deletions
|
@ -27,6 +27,8 @@ def get_file(args):
|
||||||
f.write(data)
|
f.write(data)
|
||||||
t.close()
|
t.close()
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
|
||||||
model = argv[1]
|
model = argv[1]
|
||||||
if model[-1] == '/':
|
if model[-1] == '/':
|
||||||
model = model[:-1]
|
model = model[:-1]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue