Ignore:
Timestamp:
09/07/13 18:32:37 (8 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Phase:
public
Rebase:
35336631353437653535643232303765643264386337343239303037323166363135313433643639
Message:

Fix error catch thinko

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/area_editor.py

    r523 r524  
    389389            try:
    390390                index = int(self.poly_choice.get_text())
    391             except TypeError:
     391            except ValueError:
    392392                index = 0
    393393            data = self.level_widget.level.polygons[index][:]
Note: See TracChangeset for help on using the changeset viewer.