Changeset 11663:d93b7acc5eb2 in orange


Ignore:
Timestamp:
08/20/13 15:33:54 (8 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed an error in widget discovery when the entry point names a module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/registry/discovery.py

    r11368 r11663  
    102102            try: 
    103103                if isinstance(point, types.ModuleType): 
    104                     if point.__path__: 
     104                    if hasattr(point, "__path__"): 
    105105                        # Entry point is a package (a widget category) 
    106106                        self.process_category_package( 
Note: See TracChangeset for help on using the changeset viewer.