URI: 
       tfix type of io_dir - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit b7a60f02e0bb6777a4d9c6515e6954138e55a7bb
   DIR parent 95df9cd1030c7fdb210171cdfcf170edfe4a59db
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Thu,  1 May 2014 19:19:57 +0200
       
       fix type of io_dir
       
       Diffstat:
         M gui/qt/main_window.py               |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
       t@@ -371,14 +371,14 @@ class ElectrumWindow(QMainWindow):
        
            # custom wrappers for getOpenFileName and getSaveFileName, that remember the path selected by the user
            def getOpenFileName(self, title, filter = ""):
       -        directory = self.config.get('io_dir', os.path.expanduser('~'))
       +        directory = self.config.get('io_dir', unicode(os.path.expanduser('~')))
                fileName = unicode( QFileDialog.getOpenFileName(self, title, directory, filter) )
                if fileName and directory != os.path.dirname(fileName):
                    self.config.set_key('io_dir', os.path.dirname(fileName), True)
                return fileName
        
            def getSaveFileName(self, title, filename, filter = ""):
       -        directory = self.config.get('io_dir', os.path.expanduser('~'))
       +        directory = self.config.get('io_dir', unicode(os.path.expanduser('~')))
                path = os.path.join( directory, filename )
                fileName = unicode( QFileDialog.getSaveFileName(self, title, path, filter) )
                if fileName and directory != os.path.dirname(fileName):
       t@@ -1905,7 +1905,7 @@ class ElectrumWindow(QMainWindow):
                vbox.addLayout(hbox)
        
                defaultname = 'electrum-private-keys.csv'
       -        directory = self.config.get('io_dir', os.path.expanduser('~'))
       +        directory = self.config.get('io_dir', unicode(os.path.expanduser('~')))
                path = os.path.join( directory, defaultname )
                filename_e = QLineEdit()
                filename_e.setText(path)