help with automater
laniidae opened this issue · comments
automater
source ~/.bash_profile
/Library/Frameworks/Python.framework/Versions/3.9/bin/epub2html "$1"
error
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/epub2html", line 8, in
sys.exit(entry_point())
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/epub2html/epub2html.py", line 228, in entry_point
main(mainArgs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/epub2html/epub2html.py", line 206, in main
if filepath[0]!="." and filepath[0]!="/":
IndexError: string index out of range
/Library/Frameworks/Python.framework/Versions/3.9/bin/epub2html xx.epub
works for me in bash
It seems $1 did not get any filepath.