Update telethon_generator/parsers/errors.py

Co-Authored-By: Lonami <totufals@hotmail.com>
This commit is contained in:
Andrebcd4 2019-09-24 12:32:03 +03:00 committed by GitHub
parent 77f2010e45
commit 46adb3f5b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ def _get_class_name(error_code):
return snake_to_camel_case(
error_code.replace('FIRSTNAME', 'FIRST_NAME')\
.replace('SLOWMODE', 'SLOW_MODE').lower(), suffix='Error')
.replace('SLOWMODE', 'SLOW_MODE').lower(), suffix='Error')
class Error: