remove text

This commit is contained in:
Robin van Genderen 2019-04-17 14:51:13 +02:00
parent d055b4dd8e
commit 76f300984d

View File

@ -474,7 +474,6 @@ def main():
opt_args(True) opt_args(True)
options, args = opt_args() options, args = opt_args()
# Always first!
# If the script should execute for all users # If the script should execute for all users
# The admin should pass the '--all-users' parameter # The admin should pass the '--all-users' parameter
if not options.users and not options.all_users: if not options.users and not options.all_users:
@ -558,7 +557,7 @@ def main():
write_settings(user, json.dumps(settings)) write_settings(user, json.dumps(settings))
print('Removed state settings for {}'.format(user.name)) print('Removed state settings for {}'.format(user.name))
# Add sender to safe sender list # Add sender to safe sender list
if options.addsender: if options.addsender:
settings = read_settings(user) settings = read_settings(user)
setting = 'settings.zarafa.v1.contexts.mail.safe_senders_list = {}'.format(options.addsender) setting = 'settings.zarafa.v1.contexts.mail.safe_senders_list = {}'.format(options.addsender)