Changeset 15100


Ignore:
Timestamp:
6 Aug 2018, 10:59:28 (6 years ago)
Author:
Henrik Bettermann
Message:

Fix bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py

    r15099 r15100  
    396396        store = getUtility(IExtFileStore)
    397397        if not self.target[:4] in ('cert', 'tran'):
    398             if store.getFileByContext(self.context, attr=u'passport.jpg'):
     398            if not store.getFileByContext(self.context, attr=u'passport.jpg'):
    399399                return _('No passport picture uploaded.')
    400400            if not self.request.form.get('confirm_passport', False):
Note: See TracChangeset for help on using the changeset viewer.