Skip to content

Python3.54rc1 报错 #13

@jingwangnet

Description

@jingwangnet
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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions