From 8fd2db12b56c41e072b3fdab4e0003d49e1a9e3a Mon Sep 17 00:00:00 2001 From: Salvo 'LtWorf' Tomaselli Date: Thu, 18 Jun 2020 17:10:34 +0200 Subject: [PATCH] Reuse code to generate the projection python code --- relational/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relational/parser.py b/relational/parser.py index a5d6d34..16909af 100644 --- a/relational/parser.py +++ b/relational/parser.py @@ -231,7 +231,7 @@ class Unary(Node): # Converting parameters if self.name == PROJECTION: - prop = '\"%s\"' % prop.replace(' ', '').replace(',', '\",\"') + prop = repr(self.get_projection_prop()) elif self.name == RENAME: prop = repr(self.get_rename_prop()) else: # Selection