Changeset 3527:39d391dc3cae in orange


Ignore:
Timestamp:
04/11/07 12:45:41 (7 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
8b890ee4c6522affa30db9aad0bdb624f567fea2
Message:
  • added an 'if graph==None' to fix an error when a widget has no data
File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/orngNetwork.py

    r3516 r3527  
    4545         
    4646    def nVertices(self): 
    47         return self.graph.nVertices 
     47        if self.graph: 
     48            return self.graph.nVertices 
    4849   
    4950   
Note: See TracChangeset for help on using the changeset viewer.