Changeset 960:8e3a82e27332 for src


Ignore:
Timestamp:
05/14/19 17:59:41 (5 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Removed unnecessary latin-1 decoder from the FSUIPC handler (re #347)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/fsuipc.py

    r922 r960  
    657657        self._hotkeyCallback = None
    658658
    659         self._latin1decoder = codecs.getdecoder("iso-8859-1")
    660659        self._fuelCallback = None
    661660
     
    955954
    956955        Return if a new model was created."""
    957         name = self._latin1decoder(name)[0]
    958         airPath = self._latin1decoder(airPath)[0]
    959 
    960956        aircraftName = (name, airPath)
    961957        if aircraftName==self._aircraftName:
Note: See TracChangeset for help on using the changeset viewer.