Changeset 2a8bd705 in sasview for src/sas/qtgui/MainWindow


Ignore:
Timestamp:
Jul 25, 2017 2:36:48 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
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
Children:
b00414d
Parents:
6ff2eb3
Message:

Changes to allow pyinstaller builds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/MainWindow/MainWindow.py

    rcd2cc745 r2a8bd705  
    4848    splash.show() 
    4949 
     50    # fix for pyinstaller packages app to avoid ReactorAlreadyInstalledError 
     51    import sys 
     52    if 'twisted.internet.reactor' in sys.modules: 
     53        del sys.modules['twisted.internet.reactor'] 
     54 
    5055    # DO NOT move the following import to the top! 
    5156    # (unless you know what you're doing) 
Note: See TracChangeset for help on using the changeset viewer.