Fix loading integrationUISPbandwidths.csv when a floating point number snuck in.

This commit is contained in:
Herbert Wolverson
2023-10-18 14:05:02 +00:00
parent 132962f974
commit 1f714d676f

View File

@@ -129,8 +129,8 @@ def buildSiteBandwidths():
next(csv_reader)
for row in csv_reader:
name, download, upload = row
download = int(download)
upload = int(upload)
download = int(float(download))
upload = int(float(upload))
siteBandwidth[name] = {"download": download, "upload": upload}
return siteBandwidth