mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Micro-optimisation
This commit is contained in:
parent
80ac7d893a
commit
3959627970
@ -59,7 +59,8 @@ class TranslatedStringWithRaw(str):
|
||||
|
||||
|
||||
def _(txt):
|
||||
return TranslatedStringWithRaw(txt, xlated(txt), txt, xlated(txt))
|
||||
translated = xlated(txt)
|
||||
return TranslatedStringWithRaw(txt, translated, txt, translated)
|
||||
|
||||
|
||||
class StoredObjectType(Enum):
|
||||
|
Loading…
x
Reference in New Issue
Block a user