Changeset 08e1912 in sasview for guiframe


Ignore:
Timestamp:
May 2, 2011 5:07:22 PM (14 years ago)
Author:
Jae Cho <jhjcho@…>
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:
d34f9f6
Parents:
53fc7636
Message:

still trying to fix mac help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/gui_manager.py

    r53fc7636 r08e1912  
    1616import sys 
    1717import xml 
    18 if sys.platform.count("darwin")==0: 
    19     ON_MAC = False 
    20 else: 
    21     ON_MAC = True 
     18 
    2219try: 
    2320    # Try to find a local config 
     
    22042201        self.s_screen = None 
    22052202        try: 
    2206             if not ON_MAC: 
    2207                 # make sure the current dir is App dir when it starts 
    2208                 temp_path = os.path.dirname(os.path.sys.path[0])   
    2209                 os.chdir(temp_path) 
     2203            # make sure the current dir is App dir when it starts 
     2204            temp_path = os.path.dirname(os.path.sys.path[0])   
     2205            os.chdir(temp_path) 
    22102206        except: 
    22112207            pass 
Note: See TracChangeset for help on using the changeset viewer.