Skip to content

Commit 7360585

Browse files
committed
Use group 1
1 parent ad6c953 commit 7360585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
__version__ = re.search(
2323
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
2424
io.open('decyclify/__init__.py', encoding='utf_8_sig').read(),
25-
re.MULTILINE)[0]
25+
re.MULTILINE)[1]
2626

2727

2828
install_requires = [

0 commit comments

Comments
 (0)