mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] No default backup method (redmine 968) (#339)
This commit is contained in:
parent
535f36b1c1
commit
36770b0eda
1 changed files with 1 additions and 1 deletions
|
@ -2003,7 +2003,7 @@ def backup_create(name=None, description=None, methods=[],
|
|||
m18n.n('backup_output_directory_required'))
|
||||
|
||||
# Define methods (retro-compat)
|
||||
if methods == []:
|
||||
if not methods:
|
||||
if no_compress:
|
||||
methods = ['copy']
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue