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