[fix] Typo breaking backup_delete

This commit is contained in:
Alexandre Aubin 2019-07-02 22:41:43 +02:00
parent 028a44acc9
commit 83445599ed

View file

@ -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)