Compare commits
No commits in common. "master" and "v0.1" have entirely different histories.
|
@ -30,7 +30,7 @@ if __name__ == '__main__':
|
||||||
# Serve metrics over HTTP.
|
# Serve metrics over HTTP.
|
||||||
print("Starting prometheus-yoctotemp-exporter on port",
|
print("Starting prometheus-yoctotemp-exporter on port",
|
||||||
"{}...".format(HTTP_PORT), end='')
|
"{}...".format(HTTP_PORT), end='')
|
||||||
start_http_server(HTTP_PORT, addr='::')
|
start_http_server(HTTP_PORT)
|
||||||
print(" OK.")
|
print(" OK.")
|
||||||
|
|
||||||
while sensor.isOnline():
|
while sensor.isOnline():
|
||||||
|
|
Loading…
Reference in New Issue