mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-04 22:05:13 +01:00
Set application version in generated LRF files as well.
This commit is contained in:
parent
4c4a5fe646
commit
be2304bd91
1 changed files with 2 additions and 1 deletions
|
|
@ -52,6 +52,7 @@
|
|||
DEFAULT_SOURCE_ENCODING = "cp1252" # defualt is us-windows character set
|
||||
DEFAULT_GENREADING = "fs" # default is yes to both lrf and lrs
|
||||
|
||||
from libprs500 import __appname__, __version__
|
||||
|
||||
class LrsError(Exception):
|
||||
pass
|
||||
|
|
@ -771,7 +772,7 @@ def __init__(self):
|
|||
self.language = "en"
|
||||
self.creator = None
|
||||
self.creationdate = date.today().isoformat()
|
||||
self.producer = "libprs500"
|
||||
self.producer = "%s v%s"%(__appname__, __version__)
|
||||
self.numberofpages = "0"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue