Changeset 53fc7636 in sasview
- Timestamp:
- May 2, 2011 4:52:50 PM (14 years ago)
- 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:
- 08e1912
- Parents:
- d9638fd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_manager.py
r670d77a r53fc7636 16 16 import sys 17 17 import xml 18 18 if sys.platform.count("darwin")==0: 19 ON_MAC = False 20 else: 21 ON_MAC = True 19 22 try: 20 23 # Try to find a local config … … 2201 2204 self.s_screen = None 2202 2205 try: 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) 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) 2206 2210 except: 2207 2211 pass
Note: See TracChangeset
for help on using the changeset viewer.