Changeset 3754 for WAeUP_SRP/trunk


Ignore:
Timestamp:
6 Nov 2008, 15:26:15 (16 years ago)
Author:
Henrik Bettermann
Message:

allow import of level '0'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Widgets.py

    r3743 r3754  
    443443        #import pdb;pdb.set_trace()
    444444        levels = self._getLevels()
     445        if value == '0':
     446            value = '000'
    445447        if not levels.has_key(value):
    446448            datastructure.setError(widget_id, "'%s' not a valid level" % v)
Note: See TracChangeset for help on using the changeset viewer.