Remove default redirection if needed

This commit is contained in:
likeitneverwentaway 2016-12-11 06:16:36 +01:00 committed by GitHub
parent 252928717d
commit 21b192440b

View file

@ -601,6 +601,9 @@ def app_remove(auth, app):
app_setting_path = apps_setting_path + app
if app_checkdefault(auth,app):
app_removedefault(auth, app)
#TODO: display fail messages from script
try:
shutil.rmtree('/tmp/yunohost_remove')