fix os.path

This commit is contained in:
j 2014-08-11 19:11:07 +02:00
parent a0cd8d8a1f
commit cb59b49ee3
1 changed files with 1 additions and 1 deletions

View File

@ -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