Ignore:
Timestamp:
05/07/12 13:40:41 (2 years ago)
Author:
mstajdohar
Branch:
default
rebase_source:
796478979ddab536f07ba9b90d4f4ff9e3170605
Message:

Fixed some errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/OWNxHist.py

    r10516 r10860  
    131131        for var in vars: 
    132132            try: 
    133                 self.attributeCombo.addItem(self.icons[var.varType], unicode(var.name)) 
     133                if var.varType != 7: # if not Orange.feature.Python 
     134                    self.attributeCombo.addItem(self.icons[var.varType], unicode(var.name)) 
    134135            except: 
    135                 print "error adding ", var, " to the attribute combo" 
     136                print "Error adding", var, "to the attribute combo." 
    136137 
    137138        self.setPercentil() 
Note: See TracChangeset for help on using the changeset viewer.