diff --git a/prometheus-odoo-license-exporter b/prometheus-odoo-license-exporter index 23aa675..65fa7f1 100755 --- a/prometheus-odoo-license-exporter +++ b/prometheus-odoo-license-exporter @@ -27,7 +27,7 @@ if __name__ == '__main__': "Remaining days before Odoo license expiration") # Serve metrics over HTTP - start_http_server(host=HTTP_HOST, port=HTTP_PORT) + start_http_server(addr=HTTP_HOST, port=HTTP_PORT) # Open connection with psycopg2.connect(database=DBNAME, user=USER) as conn: