Skip to content

Commit

Permalink
Addonman: fix for get_url
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-T committed Feb 17, 2017
1 parent 3825692 commit ebf51f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/py/cuda_addonman/work_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ def get_url(url, fn):
#f.flush() commented by recommendation

if os.path.isfile(fn_temp):
if os.path.isfile(fn):
os.remove(fn)
os.rename(fn_temp, fn)
return

Expand Down

0 comments on commit ebf51f2

Please sign in to comment.