Reuse code to generate the projection python code

master
Salvo 'LtWorf' Tomaselli 2020-06-18 17:10:34 +07:00
parent 04f568ad50
commit 8fd2db12b5
No known key found for this signature in database
GPG Key ID: B3A7CF0C801886CF
1 changed files with 1 additions and 1 deletions

@ -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