Changeset 93b34cc in sasview


Ignore:
Timestamp:
Nov 28, 2018 10:41:14 AM (12 days ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
config-error
Children:
55a8a39
Parents:
47be5a1
Message:

add SAS_OPENCL default to the correct path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/_config.py

    r47be5a1 r93b34cc  
    8686def setup_custom_config(app_dir, user_dir): 
    8787    path = make_custom_config_path(user_dir) 
     88    #logger.info("custom config path %s", path) 
    8889    if not os.path.isfile(path): 
    8990        try: 
     
    101102        custom_config.SAS_OPENCL = None 
    102103        try: 
    103             open(config_file, "a+").write("SAS_OPENCL = \"None\"\n") 
     104            open(path, "a+").write("SAS_OPENCL = \"None\"\n") 
    104105        except Exception: 
    105106            logger.error("Could not update custom config with SAS_OPENCL.") 
Note: See TracChangeset for help on using the changeset viewer.