From cb59b49ee3068a35a218217a6ef086c1f5966771 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 11 Aug 2014 19:11:07 +0200 Subject: [PATCH] fix os.path --- oml/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oml/update.py b/oml/update.py index 1633453..d8e30d6 100644 --- a/oml/update.py +++ b/oml/update.py @@ -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