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
+1 lines
-1 lines
Commit Signature
- Signer: B Tasker
- Key id: 8DC652174C1EBA9B
- Status: verified
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))