mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Update yunohost_app.py
use shutil
This commit is contained in:
parent
f4005fddc9
commit
297e92996a
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ def app_remove(app):
|
|||
pass
|
||||
|
||||
if os.path.exists(app_setting_path): shutil.rmtree(app_setting_path)
|
||||
os.system('rm -R /tmp/yunohost_remove')
|
||||
shutil.rmtree('/tmp/yunohost_remove')
|
||||
app_ssowatconf()
|
||||
win_msg(_("App removed: ")+ app)
|
||||
|
||||
|
|
Loading…
Reference in a new issue