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

Removed text2unicode (re #347).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/flight.py

    r919 r954  
    648648
    649649        if response==RESPONSETYPE_OK:
    650             fileName = text2unicode(dialog.get_filename())
     650            fileName = dialog.get_filename()
    651651            print("Saving", fileName)
    652652            try:
     
    939939
    940940        if response==RESPONSETYPE_OK:
    941             fileName = text2unicode(dialog.get_filename())
     941            fileName = dialog.get_filename()
    942942            print("Loading", fileName)
    943943            bookedFlight = web.BookedFlight()
     
    47404740        self._lastSavePath = os.path.join(self._wizard.gui.config.pirepDirectory,
    47414741                                          self._getDefaultPIREPName())
    4742         self._lastSavePath = text2unicode(self._lastSavePath)
     4742        self._lastSavePath = self._lastSavePath
    47434743        self._savePIREP(page, automatic = True)
    47444744
     
    47774777
    47784778        if result==RESPONSETYPE_OK:
    4779             self._lastSavePath = text2unicode(dialog.get_filename())
     4779            self._lastSavePath = dialog.get_filename()
    47804780            self._savePIREP(page)
    47814781
     
    47974797            type = MESSAGETYPE_ERROR
    47984798            message = xstr("finish_save_failed")
    4799             secondary = xstr("finish_save_failed_sec") % (text2unicode(error),)
     4799            secondary = xstr("finish_save_failed_sec") % (error,)
    48004800        else:
    48014801            type = MESSAGETYPE_INFO
Note: See TracChangeset for help on using the changeset viewer.