Ignore:
Timestamp:
24 May 2013, 06:47:09 (11 years ago)
Author:
Henrik Bettermann
Message:

course1 or course2 might not be in data dict.

File:
1 edited

Legend:

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

    r10210 r10219  
    993993            # Error during image upload. Ignore other values.
    994994            return
    995         if data['course1'] == data['course2']:
     995        if data.get('course1', 1) == data.get('course2', 2):
    996996            self.flash(_('1st and 2nd choice must be different.'))
    997997            return
Note: See TracChangeset for help on using the changeset viewer.