src_path expects a string but example.py shows a list of strings handed over
Just tried to use plotID (installed from pyPI) and run the example.py.
publish(['/home/docktor/Downloads/matlab_2012b_installer','/home/docktor/config.toml'], '/home/plotID-export/', TAGGED_FIGS
, 'Bild')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/docktor/plotID-python/venv/lib/python3.10/site-packages/plotid/publish.py", line 49, in publish
if not os.path.exists(src_datapath):
File "/usr/lib/python3.10/genericpath.py", line 19, in exists
os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not list
The files used are just some random files, the directories do exist.
I did not go and test with dev branch, but as far as I can see, the type definition has not changed.