fix os.path
This commit is contained in:
parent
a0cd8d8a1f
commit
cb59b49ee3
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ def download():
|
|||
with open(os.path.join(settings.updates_path, 'release.json'), 'w') as fd:
|
||||
fd.write(release_data)
|
||||
for f in set(os.walk(settings.updates_path).next()[2])-current_files:
|
||||
os.unlink(os.join(settings.updates_path, f))
|
||||
os.unlink(os.path.join(settings.updates_path, f))
|
||||
return True
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in a new issue