Changeset 7c64911 in sasview


Ignore:
Timestamp:
Aug 24, 2017 4:42:11 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
759a8ab
Parents:
e61f668
Message:

make logger available to run.py functions even when not run as main

File:
1 edited

Legend:

Unmodified
Added
Removed
  • run.py

    re61f668 r7c64911  
    161161def get_logger(): 
    162162    global _logger 
    163     if _logger is not None: 
     163    if _logger is None: 
    164164        from sas.logger_config import SetupLogger 
    165165        _logger = SetupLogger(__name__).config_development() 
Note: See TracChangeset for help on using the changeset viewer.