登机口
(self)
| 128 | self.sql[Tourist.license] = self.lineEditLicense.text().strip() |
| 129 | |
| 130 | def applyPort(self): |
| 131 | """登机口""" |
| 132 | if not self.checkBoxPort.isChecked(): |
| 133 | if Tourist.boardingport in self.sql: |
| 134 | # 移除 |
| 135 | self.sql.pop(Tourist.boardingport) |
| 136 | # 更新或添加到字典里 |
| 137 | else: |
| 138 | self.sql[Tourist.boardingport] = self.lineEditPort.text().strip() |
| 139 | |
| 140 | |
| 141 | if __name__ == '__main__': |
no test coverage detected