Github Mirror / telegraf-plugins: 1b8a2823




Oops, I deliberately decided not to use f-strings so that older Py3 installs could be supported, but obviously missed one

Oops, I deliberately decided not to use f-strings so that older Py3 installs could be supported, but obviously missed one

Commit 1b8a2823.

Authored 2022-03-13T14:29:58.000+00:00 by B Tasker in project Github Mirror / telegraf-plugins

+1 lines -1 lines

Commit Signature

Changes

diff --git a/i2pd-statistics/i2pd-statistics.py b/i2pd-statistics/i2pd-statistics.py
--- a/i2pd-statistics/i2pd-statistics.py
+++ b/i2pd-statistics/i2pd-statistics.py
# @@ -16,7 +16,7 @@ MEASUREMENT = os.getenv('I2PD_MEASUREMENT', 'i2pd')
#
# def getPage(path,host):
#
# - r = requests.get(f"{host}{path}")
# + r = requests.get("{}{}".format(host, path))
# return r.text
#
#
#