From bad50e8a2254f60431faf25e9709cea1b770458e Mon Sep 17 00:00:00 2001 From: Andrei Andreev Date: Wed, 23 Mar 2022 13:35:48 +0100 Subject: [PATCH] Flake --- src/tribler/gui/tribler_app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tribler/gui/tribler_app.py b/src/tribler/gui/tribler_app.py index 668d770ea9a..093d9d2c610 100644 --- a/src/tribler/gui/tribler_app.py +++ b/src/tribler/gui/tribler_app.py @@ -6,7 +6,6 @@ from tribler.core.utilities.rest_utils import path_to_uri from tribler.core.utilities.unicode import ensure_unicode - from tribler.gui.code_executor import CodeExecutor from tribler.gui.single_application import QtSingleApplication from tribler.gui.utilities import connect @@ -14,8 +13,10 @@ # Set the QT application parameters before creating any instances of the application. QCoreApplication.setAttribute(Qt.AA_UseHighDpiPixmaps) QCoreApplication.setAttribute(Qt.AA_EnableHighDpiScaling) -os.environ['QT_AUTO_SCREEN_SCALE_FACTOR'] = "1" +os.environ["QT_AUTO_SCREEN_SCALE_FACTOR"] = "1" + +# fmt: off class TriblerApplication(QtSingleApplication): """