def __save_output(self): file_path = FileService.saveFileDialog(self, self) self.output_file_path = file_path if file_path is not None and file_path != "": # file = open(file_path, 'wb') # file.close() self.output_file_path_line_edit.setText(file_path) else: #handle no file warning return None
def save_private(self): file_path = FileService.saveFileDialog(self, self) self.file_name_priv_key = file_path if file_path is not None and file_path != "": # file = open(file_path, 'wb') # file.close() self.private_key_line_edit.setText(file_path) else: #handle no file warning return None