From a9c3227f5065f941ecdcf031082b33928a251dcd Mon Sep 17 00:00:00 2001 From: Ashutosh Saboo Date: Thu, 17 Mar 2016 23:49:56 +0530 Subject: [PATCH] Updated code --- app/logic/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/logic/utils.py b/app/logic/utils.py index 729d10d1..6e467a71 100644 --- a/app/logic/utils.py +++ b/app/logic/utils.py @@ -251,7 +251,8 @@ def __init__(self): self.call = None def visit_Call(self, node): - self.call = node + if not self.call: + self.call = node def visit_Name(self, node): if not self.call: