We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 253c66a commit 25c242eCopy full SHA for 25c242e
setup.py
@@ -7,7 +7,7 @@
7
8
9
def get_version():
10
- version_file = open("django_prometheus/__init__.py", "r").read()
+ version_file = open("django_prometheus/__init__.py").read()
11
version_match = re.search(
12
r'^__version__ = [\'"]([^\'"]*)[\'"]', version_file, re.MULTILINE
13
)
0 commit comments