10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2025-01-12 05:58:23 +01:00

Fix code.fromString must retrun a code not a method

This commit is contained in:
Mickaël Véril 2020-09-15 15:31:17 +02:00
parent dfb6a2a14a
commit abaee88903

View File

@ -238,7 +238,7 @@ class code:
@staticmethod @staticmethod
def fromString(string): def fromString(string):
vals = string.split(",") vals = string.split(",")
return method(*vals) return code(*vals)
def toDataString(self): def toDataString(self):
string=self.name string=self.name