fixed bug in chart.py

This commit is contained in:
Andrey Morozov 2011-11-29 15:43:46 +00:00
parent f2d2c8db77
commit 59ea0d8ee8

View File

@ -33,7 +33,7 @@ def keyselector(a):
return a
convert = lambda text: int(text) if text.isdigit() else text
alphanum_keyselector = lambda key: [ convert(c) for c in re.split('([0-9]+)', keyselector(key)) ]
alphanum_keyselector = lambda key: [ convert(c) for c in re.split('([0-9]+)', str(keyselector(key))) ]
def getValueParams(test):
param = test.get("value_param")