Changeset 12c4933 in sasview for sansguiframe
- Timestamp:
- Sep 16, 2013 12:46:37 PM (11 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:
- 16cd735
- Parents:
- 5ea34ec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/CategoryInstaller.py
r657e52c r12c4933 51 51 cat_file = "default_categories.p" 52 52 app_dir = sys.path[0] 53 54 #TODO: Fix for RPM installation. This method should be cleaned up. 55 path = os.path.join(app_dir, 'sans', 'sansview', cat_file) 56 if os.path.isfile(path): 57 return path 58 53 59 if os.path.isfile(app_dir): 54 60 app_dir = os.path.dirname(app_dir)
Note: See TracChangeset
for help on using the changeset viewer.