Change tutorial typeclass to Tutorial Readable and TutorialClimbable. Improve error report for failed typeclass import.
This commit is contained in:
parent
5755fbdb18
commit
7f3c6dd918
5 changed files with 27 additions and 22 deletions
|
|
@ -702,7 +702,7 @@ class DefaultAccount(with_metaclass(TypeclassBase, AccountDB)):
|
|||
errors.append(string)
|
||||
return None, errors
|
||||
|
||||
# everything's ok. Create the new account account.
|
||||
# everything's ok. Create the new account.
|
||||
try:
|
||||
try:
|
||||
account = create.create_account(username, email, password, permissions=permissions, typeclass=typeclass)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue