Changeset 531dd64 in sasview


Ignore:
Timestamp:
Nov 28, 2018 5:31:02 AM (2 weeks ago)
Author:
wojciech
Branches:
ESS_GUI, ESS_GUI_Invariant, ESS_GUI_batch_fitting, ESS_GUI_ordering
Children:
3ba060e1
Parents:
9c05f22
Message:

Fix for adding SAS_OPENCL to custom_config (for backcompatibility)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/_config.py

    rf7d14a1 r531dd64  
    9898    if not "SAS_OPENCL" in open(path).read(): 
    9999        try: 
    100             open(config_file, "a+").write("SAS_OPENCL = \"None\"\n") 
     100            open(path, "a+").write("SAS_OPENCL = \"None\"\n") 
    101101        except Exception: 
    102102            logger.error("Could not update custom config with SAS_OPENCL.") 
Note: See TracChangeset for help on using the changeset viewer.