Skip to content
New issue

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

'str' object has no attribute 'decode' #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 13, 2019

  1. 'str' object has no attribute 'decode'

    I am trying to use user caching, after setting "cache-storage=db" I am getting
    
    File "/usr/lib/python3/dist-packages/xclib/utf8.py", line 19, in unutf8
        return u.decode('utf-8', opts)
    AttributeError: 'str' object has no attribute 'decode'
    
    It seems like the object is already decoded.
    With this fix I was able to successfully enable user caching.
    Failure404 authored Feb 13, 2019
    Configuration menu
    Copy the full SHA
    28d96a1 View commit details
    Browse the repository at this point in the history