mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
release.py: fix version regex (remove u'' string prefix)
This commit is contained in:
parent
18ab44169d
commit
fafddced6e
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ VERSION_LOCS = [
|
||||||
os.path.join(BASE, 'beets', '__init__.py'),
|
os.path.join(BASE, 'beets', '__init__.py'),
|
||||||
[
|
[
|
||||||
(
|
(
|
||||||
r'__version__\s*=\s*u[\'"]([0-9\.]+)[\'"]',
|
r'__version__\s*=\s*[\'"]([0-9\.]+)[\'"]',
|
||||||
"__version__ = '{version}'",
|
"__version__ = '{version}'",
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue