[fix] No default backup method (redmine 968) (#339)

This commit is contained in:
e-lie 2017-08-07 15:30:25 +02:00 committed by Alexandre Aubin
parent 535f36b1c1
commit 36770b0eda

View file

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