Changeset 6514


Ignore:
Timestamp:
Dec 30, 2008, 1:48:18 AM (16 years ago)
Author:
roland
Message:

Better handling of direction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/exodus/forms.py

    r6513 r6514  
    355355        iface = self.cleaned_data.get('iface')
    356356        accesspoint = self.cleaned_data.get('accesspoint')
    357         direction = get_direction_choices(self.cleaned_data.get('direction'))
     357        direction = self.cleaned_data.get('direction')
    358358        link = self.cleaned_data.get('link')
    359359        orig_ssid = self.cleaned_data.get('ssid')
     
    361361        if not link_is_wireless(self):
    362362            return None
    363 
     363        if direction:
     364            direction = get_direction_choices(direction)
    364365        # iface is saved for the first time
    365366        if not edit and not link:
Note: See TracChangeset for help on using the changeset viewer.