Changeset 973:6b82c047497f


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

Removed latin-1 decoder from the X-Plane adaptor (re #347)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/xplane.py

    r921 r973  
    733733        self._hotkeyCallback = None
    734734
    735         self._latin1decoder = codecs.getdecoder("iso-8859-1")
    736735        self._fuelCallback = None
    737736
     
    10161015
    10171016        Return if a new model was created."""
    1018         author = self._latin1decoder(author)[0]
    1019         description = self._latin1decoder(description)[0]
    1020         notes = self._latin1decoder(notes)[0]
    1021         liveryPath = self._latin1decoder(liveryPath)[0]
    1022 
    10231017        aircraftInfo = (tailnum, author, description, notes, icao, liveryPath)
    10241018        if aircraftInfo==self._aircraftInfo:
Note: See TracChangeset for help on using the changeset viewer.