cast server id to int to be more consistent with the rest of the data

This commit is contained in:
Matt Martz 2014-02-28 12:23:36 -06:00
parent 9ef5620b58
commit 3b29d5701d
1 changed files with 1 additions and 1 deletions

View File

@ -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: