From 9e49400768f740717d37698bd82a496d830cc230 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Tue, 12 Aug 2014 19:40:22 +0300 Subject: [PATCH] Fix logic in parser --- docs/ElunaDoc/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ElunaDoc/parser.py b/docs/ElunaDoc/parser.py index 755e789..ba230f0 100644 --- a/docs/ElunaDoc/parser.py +++ b/docs/ElunaDoc/parser.py @@ -177,7 +177,7 @@ class ClassParser(object): self.method_name = match.group(1) # If there's no prototype, make one with all params and returns. - if self.prototypes: + if not self.prototypes: parameters = ', '.join([param.name for param in self.params]) # Only pad with spaces when there are no parameters. if parameters != '':