We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d598318 commit 906b9edCopy full SHA for 906b9ed
src/google_flight_analysis/flight.py
@@ -124,7 +124,7 @@ def _classify_arg(self, arg):
124
125
elif arg.endswith('CO2') and self._co2 is None:
126
# co2
127
- self._co2 = int(arg.split()[0])
+ self._co2 = int(arg.split()[0].replace(',',''))
128
elif arg.endswith('emissions') and self._emissions is None:
129
# emmision
130
emission_val = arg.split()[0]
0 commit comments