diff --git a/src/blueprint.py b/src/blueprint.py index eec4d6c..2f6d584 100644 --- a/src/blueprint.py +++ b/src/blueprint.py @@ -102,7 +102,8 @@ def _parse(self, text, targetType): return float(text) elif targetType == 'tuple': - return tuple(self._parse(item, 'int') for item in text.split(', ')) + return tuple(self._parse(item, 'int') for item in + text.replace(' ', '').split(',')) raise ValueError('Unknown "{0}" target type!'.format(targetType))