dthonon / Client_API_VN

Export from VisioNature (Biolovision) web site to local postgresql database
GNU General Public License v3.0
3 stars 1 forks source link

update_vn fails on empty line #130

Closed dthonon closed 2 years ago

dthonon commented 4 years ago

Traceback (most recent call last): File "/home/xfer_tst/.pyenv/versions/3.6.10/bin/update_vn", line 8, in <module> sys.exit(run()) File "/home/xfer_tst/.pyenv/versions/3.6.10/lib/python3.6/site-packages/update/update_vn.py", line 251, in run main(sys.argv[1:]) File "/home/xfer_tst/.pyenv/versions/3.6.10/lib/python3.6/site-packages/update/update_vn.py", line 243, in main update(cfg_ctrl, args.input) File "/home/xfer_tst/.pyenv/versions/3.6.10/lib/python3.6/site-packages/update/update_vn.py", line 112, in update row[0].strip(), IndexError: list index out of range

dthonon commented 3 years ago

mentioned in commit 8be75d9036ec9fe1fa9861da5b8e836bf34d1de8

dthonon commented 3 years ago

Fixed in 9b6cd5e604a8cd008e5f7f5b89dd084a2a1e705b