be smarted about destination field

master
Dmytro Makovey 7 years ago
parent 9ddfa0a633
commit f86391f839

@ -126,7 +126,10 @@ def config_update(verbose=False, delete_objects=False):
email=email email=email
) )
else: else:
alias.destination = destination.split(',') if type(destination) == type(""):
alias.destination = destination.split(',')
else:
alias.destination = destination
db.session.add(alias) db.session.add(alias)
if delete_objects: if delete_objects:

Loading…
Cancel
Save