Changeset 7ab3b79b in sasview


Ignore:
Timestamp:
Sep 24, 2018 8:53:48 AM (3 months ago)
Author:
krzywon
Branches:
master, config-error, py37-all, py37-sascalc, py37-sasgui, pytest, setup_clean_up, simplify-c-build, ticket-1094-headless, ticket-1111, ticket-1205-fit-weights, ticket-1218, ticket-1220, unittest-saveload
Children:
9c7e2b8
Parents:
009abcc
Message:

Put error(s) in an array rather than scalar to prevent iterating through characters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/local_perspectives/data_loader/data_loader.py

    r009abcc r7ab3b79b  
    206206                exception_occurred = True 
    207207                error_message = "Loading data failed!\n" + e.message 
    208                 file_errors[basename] = error_message 
     208                file_errors[basename] = [error_message] 
    209209            except Exception as e: 
    210210                exception_occurred = True 
Note: See TracChangeset for help on using the changeset viewer.