Changeset 7ab3b79b in sasview for src/sas/sasgui/guiframe


Ignore:
Timestamp:
Sep 24, 2018 6:53:48 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:
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
  • TabularUnified 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.