Changeset 626


Ignore:
Timestamp:
08/09/10 03:15:25 (14 years ago)
Author:
Nicholas Riley
Message:

update_dates.py: Delete the scanned document after importing it into
EagleFiler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Update Dates/update_dates.py

    r593 r626  
    153153    scanned_document.close()
    154154
    155     record = Paper.import_(files=[scanned_file])[0]
     155    record = Paper.import_(files=[scanned_file], deleting_afterwards=True)[0]
    156156    contents = record.contents()
    157157    m = re.search('(%s)' % '|'.join(map(re.escape, sources)), contents,
Note: See TracChangeset for help on using the changeset viewer.