10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-26 06:14:38 +01:00

Fix set parser for python

This commit is contained in:
Mickaël Véril 2020-09-23 15:21:23 +02:00
parent 38507515e8
commit f2c01a1b85

View File

@ -58,7 +58,10 @@ class exSet(object):
@staticmethod @staticmethod
def fromString(string): def fromString(string):
vals = string.split(",") vals = string.split(",")
return exSet(*vals) if len(vals)>1:
return exSet(vals[0],int(vals[1]))
else:
return exSet(vals[0])
def getDOI(self): def getDOI(self):
import yaml import yaml