mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Show server log file location in the view logs dialog
This commit is contained in:
parent
d1f0903321
commit
1d2d913def
@ -855,6 +855,9 @@ class ConfigWidget(ConfigWidgetBase):
|
|||||||
)
|
)
|
||||||
except EnvironmentError:
|
except EnvironmentError:
|
||||||
al.setPlainText('No access log found')
|
al.setPlainText('No access log found')
|
||||||
|
loc = QLabel(_('The server log files are in: {}').format(os.path.dirname(log_error_file)))
|
||||||
|
loc.setWordWrap(True)
|
||||||
|
layout.addWidget(loc)
|
||||||
bx = QDialogButtonBox(QDialogButtonBox.Ok)
|
bx = QDialogButtonBox(QDialogButtonBox.Ok)
|
||||||
layout.addWidget(bx)
|
layout.addWidget(bx)
|
||||||
bx.accepted.connect(d.accept)
|
bx.accepted.connect(d.accept)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user