file must exist
This commit is contained in:
parent
d72158d78f
commit
44cb61da96
1 changed files with 2 additions and 1 deletions
|
@ -143,7 +143,8 @@ def install(stop=True):
|
|||
shutil.rmtree(module_old)
|
||||
shutil.rmtree(new)
|
||||
else:
|
||||
os.unlink(module_tar)
|
||||
if os.path.exists(module_tar):
|
||||
os.unlink(module_tar)
|
||||
return False
|
||||
shutil.copy(os.path.join(settings.updates_path, 'release.json'), os.path.join(settings.config_path, 'release.json'))
|
||||
if stop:
|
||||
|
|
Loading…
Reference in a new issue