mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Typo breaking backup_delete
This commit is contained in:
parent
028a44acc9
commit
83445599ed
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue