Changeset 11676:ea77c7c817b4 in orange


Ignore:
Timestamp:
08/30/13 13:59:15 (8 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fix std streams (if necessary) before configuring the logging framework.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/main.py

    r11596 r11676  
    106106              logging.DEBUG] 
    107107 
     108    # Fix streams before configuring logging (otherwise it will store 
     109    # and write to the old file descriptors) 
     110    fix_win_pythonw_std_stream() 
     111 
    108112    logging.basicConfig(level=levels[options.log_level]) 
    109  
    110     fix_win_pythonw_std_stream() 
    111113 
    112114    log.info("Starting 'Orange Canvas' application.") 
Note: See TracChangeset for help on using the changeset viewer.