mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
dce5f748ed
commit
6f8f15cd01
@ -92,7 +92,7 @@ class ValueTableWidgetItem(QTableWidgetItem):
|
||||
self._is_editable = False
|
||||
super().__init__(('{' + _('template') + '}') if is_template else txt)
|
||||
if not is_template and txt not in all_values:
|
||||
icon = "dialog_error.png"
|
||||
icon = 'dialog_error.png'
|
||||
self.setToolTip(_("The value {} doesn't exist in the library").format(txt))
|
||||
self._is_editable = True
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user