Changeset 5218180 in sasview for src/sas/sasgui/guiframe


Ignore:
Timestamp:
Sep 24, 2018 9:05:25 AM (6 years ago)
Author:
krzywon
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, 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.