NYPL / ami-tools

MIT License
14 stars 6 forks source link

repair_bags.py Type error when using '-b' #77

Open genfhk opened 2 years ago

genfhk commented 2 years ago

Traceback (most recent call last): File "/Users/pamiqc/ami-tools/bin/repair_bags.py", line 121, in main() File "/Users/pamiqc/ami-tools/bin/repair_bags.py", line 75, in main bags.append(os.path.abspath(args.bagpath)) File "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/posixpath.py", line 375, in abspath path = os.fspath(path) TypeError: expected str, bytes or os.PathLike object, not list