We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jingwang@jingwang-pc:~$ sudo img2html -s 25 -c '静' -t 'jing.wang' -i ~/Pictures/Wallpapers/174fea21dd2d2f0d99a8d9c5de412757.jpg -o test.html Traceback (most recent call last): File "/usr/local/bin/img2html", line 11, in <module> sys.exit(main()) File "/usr/local/lib/python3.5/dist-packages/img2html/__init__.py", line 35, in main font_family=args.font, File "/usr/local/lib/python3.5/dist-packages/img2html/converter.py", line 73, in __init__ char = char.decode('utf-8') AttributeError: 'str' object has no attribute 'decode'
The text was updated successfully, but these errors were encountered:
pip 安装的 img2html-0.0.7
Sorry, something went wrong.
decode那一行和它的判断条件一起删掉,next()方法都改为__next__(),xrange()方法都改为range()
No branches or pull requests
The text was updated successfully, but these errors were encountered: