Changeset 93b34cc in sasview
- Timestamp:
- Nov 28, 2018 10:41:14 AM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249
- Children:
- 1342f6a
- Parents:
- 47be5a1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/_config.py
r47be5a1 r93b34cc 86 86 def setup_custom_config(app_dir, user_dir): 87 87 path = make_custom_config_path(user_dir) 88 #logger.info("custom config path %s", path) 88 89 if not os.path.isfile(path): 89 90 try: … … 101 102 custom_config.SAS_OPENCL = None 102 103 try: 103 open( config_file, "a+").write("SAS_OPENCL = \"None\"\n")104 open(path, "a+").write("SAS_OPENCL = \"None\"\n") 104 105 except Exception: 105 106 logger.error("Could not update custom config with SAS_OPENCL.")
Note: See TracChangeset
for help on using the changeset viewer.