Ignore:
Timestamp:
9 Jan 2013, 06:33:17 (12 years ago)
Author:
Henrik Bettermann
Message:

Forms provide unicode not str values.

File:
1 edited

Legend:

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

    r9846 r9847  
    124124            if idx_name == 'catalog':
    125125                continue
    126             if isinstance(value, str) and ('session' in idx_name
     126            if value is not None and ('session' in idx_name
    127127                or 'level' in idx_name):
    128128                value = int(value)
Note: See TracChangeset for help on using the changeset viewer.