mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 07:13:42 +02:00
Removed print statements for changing dates
This commit is contained in:
parent
93a751cc78
commit
5f3e1f5128
1 changed files with 0 additions and 5 deletions
|
|
@ -426,11 +426,6 @@ def update_text_record(self, record, book, path, bl_index):
|
|||
timestamp = os.path.getctime(path)
|
||||
date = strftime(timestamp)
|
||||
if date != record.get('date', None):
|
||||
if DEBUG:
|
||||
debug_print('Changing date of', path, 'from',
|
||||
record.get('date', ''), 'to', date)
|
||||
prints('\tctime', strftime(os.path.getctime(path)))
|
||||
prints('\tmtime', strftime(os.path.getmtime(path)))
|
||||
record.set('date', date)
|
||||
record.set('size', str(os.stat(path).st_size))
|
||||
title = book.title if book.title else _('Unknown')
|
||||
|
|
|
|||
Loading…
Reference in a new issue