Missed a few unicode strings

This commit is contained in:
Andrew Rogl 2021-09-26 16:51:01 +10:00
parent ce77816ad9
commit fc4d65a387
3 changed files with 5 additions and 5 deletions

View file

@ -875,7 +875,7 @@ class CommonOptionsParser(optparse.OptionParser):
By default this affects both items and albums. If add_album_option() By default this affects both items and albums. If add_album_option()
is used then the target will be autodetected. is used then the target will be autodetected.
Sets the format property to u'$path' on the options extracted from the Sets the format property to '$path' on the options extracted from the
CLI. CLI.
""" """
path = optparse.Option(*flags, nargs=0, action='callback', path = optparse.Option(*flags, nargs=0, action='callback',

View file

@ -94,9 +94,9 @@ Artist index:
# The content for the base conf.py generated. # The content for the base conf.py generated.
REST_CONF_TEMPLATE = '''# -*- coding: utf-8 -*- REST_CONF_TEMPLATE = '''# -*- coding: utf-8 -*-
master_doc = 'index' master_doc = 'index'
project = u'Lyrics' project = 'Lyrics'
copyright = u'none' copyright = 'none'
author = u'Various Authors' author = 'Various Authors'
latex_documents = [ latex_documents = [
(master_doc, 'Lyrics.tex', project, (master_doc, 'Lyrics.tex', project,
author, 'manual'), author, 'manual'),

View file

@ -35,7 +35,7 @@ VERSION_LOCS = [
[ [
( (
r'__version__\s*=\s*u[\'"]([0-9\.]+)[\'"]', r'__version__\s*=\s*u[\'"]([0-9\.]+)[\'"]',
"__version__ = u'{version}'", "__version__ = '{version}'",
) )
] ]
), ),