From 104564f6befd27c3852b663e5a91ce6470a44038 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 4 Jun 2014 13:55:46 +0200 Subject: [PATCH] Init log before creating QApplication --- qutebrowser/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/app.py b/qutebrowser/app.py index 7c12adb7a..b6a865bda 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -128,7 +128,6 @@ class Application(QApplication): sys.excepthook = self._exception_hook self._args = args - log.init_log(self._args) self._init_misc() actute_warning() self._init_config() @@ -662,5 +661,6 @@ def crash(typ='exception'): def main(): """Main entry point for qutebrowser.""" args = _parse_args() + log.init_log(args) app = Application(args) return app.exec_()