Changeset 6538 for main/waeup.sirp/trunk


Ignore:
Timestamp:
23 Jul 2011, 02:45:59 (13 years ago)
Author:
uli
Message:

Create default passport image via IFileRetrieval utilities.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/interfaces.py

    r6518 r6538  
    7676    provider.
    7777    """
     78    from waeup.sirp.image import createWAeUPImageFile
     79    imagefile = createWAeUPImageFile(
     80        'placeholder_m.jpg',
     81        open(os.path.join(IMAGE_PATH, 'placeholder_m.jpg'), 'r')
     82        )
     83    return imagefile
    7884    return WAeUPImageFile(
    7985        'placeholder_m.jpg', DEFAULT_PASSPORT_IMAGE_MALE)
Note: See TracChangeset for help on using the changeset viewer.