Update yunohost_app.py

use shutil
This commit is contained in:
titoko 2013-11-25 19:06:06 +01:00
parent f4005fddc9
commit 297e92996a

View file

@ -454,7 +454,7 @@ def app_remove(app):
pass pass
if os.path.exists(app_setting_path): shutil.rmtree(app_setting_path) 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() app_ssowatconf()
win_msg(_("App removed: ")+ app) win_msg(_("App removed: ")+ app)