~alo21/subdownloader/subdownloader

« back to all changes in this revision

Viewing changes to gui/main.py

  • Committer: Alessandro Losavio
  • Date: 2012-11-04 14:40:01 UTC
  • Revision ID: alessandro.losavio@yahoo.com-20121104144001-s1zhfanh0ft4olwu
Fixed bug 913453 part two

Show diffs side-by-side

added added

removed removed

Lines of Context:
1026
1026
        elif optionWhereToDownload == QVariant("SAME_FOLDER"):
1027
1027
            folderPath = video.getFolderPath()
1028
1028
            dir = QDir(QString(folderPath))
1029
 
            downloadFullPath = os.path.join(folderPath, subFileName).decode(sys.getfilesystemencoding())
 
1029
            downloadFullPath = os.path.join(folderPath, subFileName)
1030
1030
            log.debug("Downloading to: %r"% downloadFullPath)
1031
1031
        elif optionWhereToDownload == QVariant("PREDEFINED_FOLDER"):
1032
1032
            folderPath = settings.value("options/whereToDownloadFolder", QVariant("")).toString()