Remove unused variable 'v'

This commit is contained in:
Alessio Sergi 2015-12-17 20:00:00 +01:00
parent 02613f3223
commit 73bcd657eb

View File

@ -137,7 +137,7 @@ class Export(GlancesExport):
if self.version == INFLUXDB_09: if self.version == INFLUXDB_09:
# Convert all int to float (mandatory for InfluxDB>0.9.2) # Convert all int to float (mandatory for InfluxDB>0.9.2)
# Correct issue#750 and issue#749 # Correct issue#750 and issue#749
for i, v in enumerate(points): for i, _ in enumerate(points):
try: try:
points[i] = float(points[i]) points[i] = float(points[i])
except ValueError: except ValueError: