Changeset 7997:29cdb943ab0c in orange


Ignore:
Timestamp:
06/13/11 11:55:34 (3 years ago)
Author:
markotoplak
Branch:
default
Convert:
e81a41718fddb977968dc8498374759a3dc7e982
Message:

Addons: main path, path/widgets have a priority over path/widgets/prototypes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/misc/addons.py

    r7990 r7997  
    15871587    for addOn in installed_addons.values() + registered_addons: 
    15881588        path = addOn.directory 
    1589         for p in [path, os.path.join(path, "widgets"), 
    1590                   os.path.join(path, "widgets", "prototypes"), 
     1589        for p in [os.path.join(path, "widgets", "prototypes"), 
     1590                  os.path.join(path, "widgets"), 
     1591                  path, 
    15911592                  os.path.join(path, "lib-%s" % "-".join(( sys.platform, "x86" 
    15921593                                                           if (platform.machine()=="") 
Note: See TracChangeset for help on using the changeset viewer.