Changeset c889a3e in sasview for src/sas/qtgui/Utilities


Ignore:
Timestamp:
May 16, 2018 5:05:26 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, 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
Children:
d3b57a0
Parents:
bc3debf8
Message:

Create categories.json if file not present. SASVIEW-937

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Utilities/CategoryInstaller.py

    rcee5c78 rc889a3e  
    174174                                                          model_enabled_dict) 
    175175 
    176             json.dump(master_category_dict, open(serialized_file, 'wb')) 
     176            json.dump(master_category_dict, open(serialized_file, "w", encoding="utf8")) 
    177177 
Note: See TracChangeset for help on using the changeset viewer.