8000 Fix bug in WSGI app code. · flixgithub/client_python@0cedb75 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0cedb75

Browse files
coderangerbrian-brazil
authored andcommitted
Fix bug in WSGI app code.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
1 parent 59315cc commit 0cedb75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prometheus_client/exposition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def make_wsgi_app(registry=core.REGISTRY):
3737
def prometheus_app(environ, start_response):
3838
params = parse_qs(environ.get(' 5BAB QUERY_STRING', ''))
3939
r = registry
40-
encoder, content_type = choose_encoder(environ.get['HTTP_ACCEPT'])
40+
encoder, content_type = choose_encoder(environ.get('HTTP_ACCEPT'))
4141
if 'name[]' in params:
4242
r = r.restricted_registry(params['name[]'])
4343
output = encoder(r)

0 commit comments

Comments
 (0)
0