Skip to content

Commit

Permalink
#463 -c parameter handling corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
WouterJD committed Mar 14, 2024
1 parent 73e436a commit b6d3d90
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pythoncode/FortiusAntCommand.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#-------------------------------------------------------------------------------
# Version info
#-------------------------------------------------------------------------------
__version__ = "2023-03-13"
__version__ = "2024-03-14"
# 2024-03-14 Issue #463: parameter -c handled incorrectly
# 2023-12-13 Issue #445: Specifying Vortex interactively has no effect
# 2023-03-15 Typo in message corrected
# 2022-08-10 Steering merged from marcoveeneman and switchable's code
Expand Down Expand Up @@ -364,7 +365,7 @@ def __init__(self):
#-----------------------------------------------------------------------
if self.args.CalibrateRR != None:
try:
self.CalibrateRR = float(self.args.CalibrateRR.replace(',', '.'))
self.CalibrateRR = self.args.CalibrateRR #463 It's an int because so defined in the commandline, no conversion needed
except:
logfile.Console('Command line error; -c incorrect calibration of Rolling Resistance=%s' % self.args.CalibrateRR)

Expand Down

0 comments on commit b6d3d90

Please sign in to comment.