Fixed bad typo in import users function

This commit is contained in:
Norman Jäckel 2013-05-12 00:56:40 +02:00
parent 411f8d0892
commit 3ba5fd2dc6

View File

@ -102,9 +102,9 @@ def import_users(csv_file):
user.reset_password()
count_success += 1
except csv.Error:
error_messages.appen(_('Import aborted because of severe errors in the input file.'))
error_messages.append(_('Import aborted because of severe errors in the input file.'))
except UnicodeDecodeError:
error_messages.appen(_('Import file has wrong character encoding, only UTF-8 is supported!'))
error_messages.append(_('Import file has wrong character encoding, only UTF-8 is supported!'))
return (count_success, error_messages)