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/OWLoadClassifier.py

    r9671 r10462  
    77 
    88from OWWidget import * 
     9 
    910import OWGUI 
    1011import orange 
     
    6465        filename = QFileDialog.getOpenFileName(self, "Load Classifier From File", 
    6566                        self.lastFile, "Pickle files (*.pickle *.pck)\nAll files (*.*)") 
    66         filename = str(filename) 
     67        filename = unicode(filename) 
    6768        if filename: 
    6869            if filename in self.filenameHistory: 
Note: See TracChangeset for help on using the changeset viewer.