mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-02 19:20:09 +03:00
Update telethon_generator/parsers/errors.py
Co-Authored-By: Lonami <totufals@hotmail.com>
This commit is contained in:
parent
77f2010e45
commit
46adb3f5b6
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user