Clear up confusing error and trailing brace (closes #429)

This commit is contained in:
Lonami Exo 2017-11-14 09:48:40 +01:00
parent bfc408b00a
commit d59b17c6fc
2 changed files with 2 additions and 2 deletions

View File

@ -354,7 +354,7 @@ class InteractiveTelegramClient(TelegramClient):
update.message, get_display_name(who) update.message, get_display_name(who)
)) ))
else: else:
sprint('<< {} sent "{}"]'.format( sprint('<< {} sent "{}"'.format(
get_display_name(who), update.message get_display_name(who), update.message
)) ))

View File

@ -45,7 +45,7 @@ PHONE_NUMBER_OCCUPIED=The phone number is already in use
PHONE_NUMBER_UNOCCUPIED=The phone number is not yet being used PHONE_NUMBER_UNOCCUPIED=The phone number is not yet being used
PHOTO_INVALID_DIMENSIONS=The photo dimensions are invalid PHOTO_INVALID_DIMENSIONS=The photo dimensions are invalid
TYPE_CONSTRUCTOR_INVALID=The type constructor is invalid TYPE_CONSTRUCTOR_INVALID=The type constructor is invalid
USERNAME_INVALID=Unacceptable username. Must match r"[a-zA-Z][\w\d]{3,30}[a-zA-Z\d]" USERNAME_INVALID=Nobody is using this username, or the username is unacceptable. If the latter, it must match r"[a-zA-Z][\w\d]{3,30}[a-zA-Z\d]"
USERNAME_NOT_MODIFIED=The username is not different from the current username USERNAME_NOT_MODIFIED=The username is not different from the current username
USERNAME_NOT_OCCUPIED=The username is not in use by anyone else yet USERNAME_NOT_OCCUPIED=The username is not in use by anyone else yet
USERNAME_OCCUPIED=The username is already taken USERNAME_OCCUPIED=The username is already taken