From ef3cdf9e23f4fed1c795f49c37c10689c983d610 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Sat, 15 Apr 2017 15:34:49 +0200 Subject: [PATCH] Fix constructor count showing as negative --- docs/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/generate.py b/docs/generate.py index 424fb24b..8ad67a75 100644 --- a/docs/generate.py +++ b/docs/generate.py @@ -351,7 +351,7 @@ def generate_documentation(scheme_file): replace_dict = { 'type_count': len(types), 'method_count': len(methods), - 'constructor_count': len(methods) - len(tlobjects), + 'constructor_count': len(tlobjects) - len(methods), 'layer': layer, 'request_names': request_names,