Yak shaving

This commit is contained in:
Rob Lee 2020-04-09 22:05:38 +01:00
parent b37f4c4802
commit ce2ca3c4c4

View File

@ -56,8 +56,7 @@ def prom_exporter():
response.append('#TYPE '+attribute+' '+info['type'])
response.append(attribute+'{'+info['device']+'} '+info['value'])
s='\n'
return s.join(response)
return '\n'.join(response)
class GetHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):