mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
99616ba400
commit
cefd9b1563
@ -1390,7 +1390,7 @@ class TemplateFormatter(string.Formatter):
|
||||
|
||||
@property
|
||||
def gpm_parser(self):
|
||||
if self._template_parser == None:
|
||||
if self._template_parser is None:
|
||||
self._template_parser = _Parser()
|
||||
return self._template_parser
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user