Changeset 5218180 in sasview


Ignore:
Timestamp:
Sep 24, 2018 9:05:25 AM (4 weeks ago)
Author:
krzywon
Branches:
ticket-1111, unittest-saveload
Children:
b1ec23d
Parents:
926ece5
git-author:
krzywon <krzywon@…> (09/24/18 08:53:48)
git-committer:
krzywon <krzywon@…> (09/24/18 09:05:25)
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

    ra78446ce r5218180  
    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.