Skip to content

Commit 906b9ed

Browse files
committed
Fix according to celebi-pkg#21 from original
1 parent d598318 commit 906b9ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/google_flight_analysis/flight.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def _classify_arg(self, arg):
124124

125125
elif arg.endswith('CO2') and self._co2 is None:
126126
# co2
127-
self._co2 = int(arg.split()[0])
127+
self._co2 = int(arg.split()[0].replace(',',''))
128128
elif arg.endswith('emissions') and self._emissions is None:
129129
# emmision
130130
emission_val = arg.split()[0]

0 commit comments

Comments
 (0)