Changeset 4e367f6 in sasview


Ignore:
Timestamp:
May 7, 2011 12:06:43 PM (14 years ago)
Author:
ajj
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
fadf925
Parents:
d34f9f6
Message:

Fixing error in plugin path finding.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DataLoader/loader.py

    red61f2a1 r4e367f6  
    103103            temp_path = os.path.join(os.path.dirname(__file__), dir) 
    104104        if not os.path.isdir(temp_path): 
    105             temp_path = os.path.join(os.path.dirname(os.path.sys.path[0]), dir) 
     105            temp_path = os.path.join(os.path.dirname(sys.path[0]), dir) 
    106106         
    107107        dir = temp_path 
Note: See TracChangeset for help on using the changeset viewer.