Changeset 9158 for main/waeup.kofa/trunk


Ignore:
Timestamp:
5 Sep 2012, 08:22:01 (12 years ago)
Author:
Henrik Bettermann
Message:

Fix if statement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/tools/fix_import_file.py

    r9019 r9158  
    106106                                    # since reg_state import is usually intended
    107107    'transition': 'reg_transition',
     108    'payment_date': 'date',
    108109    }
    109110
     
    231232        if number == 0:
    232233            return 10
    233         if row.get('entry_mode').startswith('pg'):
     234        if row.get('entry_mode') and row.get('entry_mode').startswith('pg'):
    234235            return 999
    235236        return number
Note: See TracChangeset for help on using the changeset viewer.