Rename constructor/subclass_of_id to upper case, keep only static

This commit is contained in:
Lonami Exo
2017-09-29 13:11:33 +02:00
parent b3f04fd359
commit afc4bd9cab
7 changed files with 17 additions and 17 deletions

View File

@@ -329,7 +329,7 @@ class MtProtoSender:
if self.session.report_errors and request:
error = rpc_message_to_error(
reader.read_int(), reader.tgread_string(),
report_method=type(request).constructor_id
report_method=type(request).CONSTRUCTOR_ID
)
else:
error = rpc_message_to_error(