def extractFolder(self): if self.__mainWindow.DFF_CONFIG.extractFolder == "": sDirName = QFileDialog.getExistingDirectory( self, QApplication.translate("MainWindow", "Choose Your Directory For Extraction", None, QApplication.UnicodeUTF8), "/home", QFileDialog.ShowDirsOnly | QFileDialog.DontResolveSymlinks) if (sDirName): self.__mainWindow.DFF_CONFIG.extractFolder = sDirName else: return tmp = [self.getCurrentNode()] DFF_Utils().execExtract(tmp, self.__mainWindow.DFF_CONFIG.extractFolder)