veyepar icon indicating copy to clipboard operation
veyepar copied to clipboard

upload_formats shold be a list

Open CarlFK opened this issue 6 years ago • 0 comments

veyepar.cfg supports: upload-formats=mp4 webm which gets split() into a list: self.options.upload_formats = self.options.upload_formats.split()

the ini format doesn't support lists: "always storing them internally as strings" https://docs.python.org/3/library/configparser.html#supported-datatypes

so to get rid of the split() we would need to use a format that supports lists. yaml would be my choice.

CarlFK avatar Jan 29 '19 13:01 CarlFK