diff --git a/usr/lib/python3.3/site-packages/eric5/eric5.py b/usr/lib/python3.3/site-packages/eric5/eric5.py index c50f5d0..a779573 100644 --- a/usr/lib/python3.3/site-packages/eric5/eric5.py +++ b/usr/lib/python3.3/site-packages/eric5/eric5.py @@ -50,6 +50,9 @@ except ImportError: from E5Gui.E5Application import E5Application +if __name__ == '__main__': + app = E5Application(sys.argv) + from UI.Info import BugAddress from UI.SplashScreen import SplashScreen, NoneSplashScreen from E5Gui.E5SingleApplication import E5SingleApplicationClient @@ -177,8 +180,6 @@ def main(): if not Utilities.checkBlacklistedVersions(): sys.exit(100) - app = E5Application(sys.argv) - if Preferences.getUI("SingleApplicationMode"): handleSingleApplication(ddindex)