Ignore:
Timestamp:
03/07/12 20:34:41 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
rebase_source:
e0e81317be7e94777360a2a0373960fc9889a2ac
Message:

Added unicode filename support for save/load widgets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/Prototypes/OWUnpickle.py

    r9671 r10462  
    99from OWWidget import * 
    1010import OWGUI 
    11  
    1211 
    1312class OWUnpickle(OWWidget): 
     
    6463        filename = QFileDialog.getOpenFileName(self, "Load Object From File", 
    6564                        self.last_file, "Pickle files (*.pickle *.pck)\nAll files (*.*)") 
    66         filename = str(filename) 
     65        filename = unicode(filename) 
    6766        if filename: 
    6867            if filename in self.filename_history: 
Note: See TracChangeset for help on using the changeset viewer.