mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
pep8
This commit is contained in:
parent
1bb5f088f9
commit
55246df4c9
@ -235,6 +235,7 @@ translate_table = str.maketrans({
|
|||||||
'\\': '\\\\',
|
'\\': '\\\\',
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
class TemplateDialog(QDialog, Ui_TemplateDialog):
|
class TemplateDialog(QDialog, Ui_TemplateDialog):
|
||||||
|
|
||||||
def __init__(self, parent, text, mi=None, fm=None, color_field=None,
|
def __init__(self, parent, text, mi=None, fm=None, color_field=None,
|
||||||
|
@ -1075,6 +1075,7 @@ class _Interpreter(object):
|
|||||||
'tab': '\t',
|
'tab': '\t',
|
||||||
'backslash': '\\',
|
'backslash': '\\',
|
||||||
}
|
}
|
||||||
|
|
||||||
def do_node_character(self, prog):
|
def do_node_character(self, prog):
|
||||||
try:
|
try:
|
||||||
key = self.expr(prog.expression)
|
key = self.expr(prog.expression)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user