개정판 d02afdce
issue #1203: fix db test connection
Change-Id: Ia030aaee7e55481ff0f24b47a8a51703c870f41e
DTI_PID/DTI_PID/ProjectDialog.py | ||
---|---|---|
165 | 165 |
index = self.ui.comboBox.currentIndex() |
166 | 166 |
project = self.ui.comboBox.itemData(index) |
167 | 167 |
database = AppDatabase('MSSQL', self.ui.lineEditServer.text(), self.ui.lineEditUser.text(), |
168 |
self.ui.lineEditPassword.text(), db_path=project.getName())
|
|
168 |
self.ui.lineEditPassword.text(), db_path=project.name)
|
|
169 | 169 |
try: |
170 | 170 |
conn = database.connect() |
171 | 171 |
with conn: |
내보내기 Unified diff