mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
Added subject to pdf info command
This commit is contained in:
parent
9e15e48588
commit
1ed9efeb39
@ -35,6 +35,7 @@ def print_info(pdf_path):
|
||||
pdf = PdfFileReader(pdf_file)
|
||||
print _('Title: %s' % pdf.documentInfo.title)
|
||||
print _('Author: %s' % pdf.documentInfo.author)
|
||||
print _('Subject: %s' % pdf.documentInfo.subject)
|
||||
print _('Creator: %s' % pdf.documentInfo.creator)
|
||||
print _('Producer: %s' % pdf.documentInfo.producer)
|
||||
print _('Creation Date: %s' % time.strftime('%a %b %d %H:%M:%S %Y', time.gmtime(os.path.getctime(pdf_path))))
|
||||
|
Loading…
x
Reference in New Issue
Block a user