Looking at https://bugs.python.org/issue18171, it may be better to replace:
os.path.expanduser(u"~/.config/variety/")
with
os.path.expanduser("~/.config/variety/")
However, I haven't tested this myself, so I can't confirm whether it works.
Looking at https:/ /bugs.python. org/issue18171, it may be better to replace:
os. path.expanduser (u"~/.config/ variety/ ")
with
os. path.expanduser ("~/.config/ variety/ ")
However, I haven't tested this myself, so I can't confirm whether it works.