Skip to content

Commit

Permalink
[2320] Don't Fill Bad Value
Browse files Browse the repository at this point in the history
In monitor.py on line 681, we already have set the pattern of not filling a garbage value if it might not exist. That code is 4 years old, so we'll use it's standard.
  • Loading branch information
Rixxan committed Dec 20, 2024
1 parent cac792b commit da414ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,8 +710,8 @@ def parse_entry(self, line: bytes) -> MutableMapping[str, Any]: # noqa: C901, C
'Ship': entry["Ship"],
'ShipName': entry['ShipName'],
'ShipIdent': entry['ShipIdent'],
'HullValue': entry.get('HullValue', 0),
'ModulesValue': entry.get('ModulesValue', 0),
'HullValue': entry.get('HullValue'),
'ModulesValue': entry.get('ModulesValue'),
'Rebuy': entry['Rebuy'],
'MaxJumpRange': entry['MaxJumpRange'],
'UnladenMass': entry['UnladenMass'],
Expand Down

0 comments on commit da414ea

Please sign in to comment.