Changeset 415fb82 in sasview for src/sas/guiframe/gui_manager.py


Ignore:
Timestamp:
Apr 1, 2015 10:57:33 AM (10 years ago)
Author:
krzywon
Branches:
master, ESS_GUI, ESS_GUI_Docs, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
5f0be1f
Parents:
c4a7660
Message:

Fixed the perspectives loading error. Cleaned up the sasview.log by
removing any extra linefeeds/carraige returns and added a start session
and end session message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/guiframe/gui_manager.py

    r091e71a2 r415fb82  
    897897        # Go through files in panels directory 
    898898        try: 
    899             file_list = os.listdir(dir) 
     899            if os.path.isdir(dir): 
     900                file_list = os.listdir(dir) 
     901            else: 
     902                file_list = [] 
    900903            ## the default panel is the panel is the last plugin added 
    901904            for item in file_list: 
     
    20192022        Quit the application 
    20202023        """ 
     2024        logging.info(" --- SasView session was closed --- \n") 
    20212025        wx.Exit() 
    20222026        sys.exit() 
Note: See TracChangeset for help on using the changeset viewer.