From 83445599ede53141a9b8b3173c505cda9d4364be Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 2 Jul 2019 22:41:43 +0200 Subject: [PATCH] [fix] Typo breaking backup_delete --- src/yunohost/backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/backup.py b/src/yunohost/backup.py index 6745df865..d374653b3 100644 --- a/src/yunohost/backup.py +++ b/src/yunohost/backup.py @@ -2322,7 +2322,7 @@ def backup_delete(name): files_to_delete = [archive_file, info_file] # To handle the case where archive_file is in fact a symlink - if os.islink(archive_file): + if os.path.islink(archive_file): actual_archive = os.path.realpath(archive_file) files_to_delete.append(actual_archive)