def _exportWorkspace(self): filename = QFileDialog.getSaveFileName( "/tmp", "Faraday export file (*.faraday)", None, "save file dialog", "Choose a file to save the export") if filename and filename is not None: model.api.log("Export function %s" % filename) api.exportWorskpace("%s/" % CONF.getPersistencePath(), "%s.faraday" % filename)
def _exportWorkspace(self): filename = QFileDialog.getSaveFileName( "/tmp", "Faraday export file (*.faraday)", None, "save file dialog", "Choose a file to save the export" ); if filename and filename is not None: model.api.log("Export function %s" % filename) api.exportWorskpace("%s/" % CONF.getPersistencePath(), "%s.faraday" % filename)