10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-10-02 06:20:58 +02: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
def fromString(string):
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):
import yaml