mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-29 19:53:12 +02:00
Fix #3763 (Cannot close server log window)
This commit is contained in:
parent
b3ad9f0160
commit
a53c32ae81
1 changed files with 4 additions and 1 deletions
|
|
@ -623,7 +623,10 @@ def view_server_logs(self):
|
|||
try:
|
||||
al.setPlainText(open(log_access_file, 'rb').read().decode('utf8', 'replace'))
|
||||
except IOError:
|
||||
el.setPlainText('No access log found')
|
||||
al.setPlainText('No access log found')
|
||||
bx = QDialogButtonBox(QDialogButtonBox.Ok)
|
||||
layout.addWidget(bx)
|
||||
self.connect(bx, SIGNAL('accepted()'), d.accept)
|
||||
d.show()
|
||||
|
||||
def set_server_options(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue