From 3b29d5701d704eeb19bbe301a967c7c3a5d2fe90 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Fri, 28 Feb 2014 12:23:36 -0600 Subject: [PATCH] cast server id to int to be more consistent with the rest of the data --- speedtest_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speedtest_cli.py b/speedtest_cli.py index cce7443..b66b25f 100755 --- a/speedtest_cli.py +++ b/speedtest_cli.py @@ -353,7 +353,7 @@ class SpeedtestResults(object): return dict(download=self.download, upload=self.upload, ping=self.ping, - server=self.server['id']) + server=int(self.server['id'])) def csv(self): """Return data in CSV format in the order of: