개정판 852eff84
issue #000 Export To PAP 수정.
HYTOS/HYTOS/Export_To_PAP.py | ||
---|---|---|
165 | 165 |
message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, |
166 | 166 |
sys.exc_info()[-1].tb_lineno) |
167 | 167 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
168 |
finally: |
|
169 | 168 |
QTimer.singleShot(500, self.close_animation) |
170 | 169 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) |
171 | 170 |
|
... | ... | |
386 | 385 |
message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, |
387 | 386 |
sys.exc_info()[-1].tb_lineno) |
388 | 387 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
389 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) |
|
390 |
finally: |
|
391 | 388 |
QTimer.singleShot(500, self.close_animation) |
392 | 389 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) |
393 | 390 |
|
... | ... | |
411 | 408 |
async with session.get(url) as resp: |
412 | 409 |
return await resp.json() |
413 | 410 |
|
414 |
|
|
415 | 411 |
def accept(self): |
416 | 412 |
inst_Items = [] |
417 | 413 |
if self.ui.tableView_upload_item_list.model().rowCount() > 0: |
내보내기 Unified diff