Fix constructor count showing as negative

This commit is contained in:
Lonami Exo 2017-04-15 15:34:49 +02:00
parent 81dfcc4102
commit ef3cdf9e23

View File

@ -351,7 +351,7 @@ def generate_documentation(scheme_file):
replace_dict = { replace_dict = {
'type_count': len(types), 'type_count': len(types),
'method_count': len(methods), 'method_count': len(methods),
'constructor_count': len(methods) - len(tlobjects), 'constructor_count': len(tlobjects) - len(methods),
'layer': layer, 'layer': layer,
'request_names': request_names, 'request_names': request_names,