From 0dd7013fb3410c83b82c3685bbdf0b7b511611d8 Mon Sep 17 00:00:00 2001 From: TheEvilSkeleton Date: Sat, 29 Jul 2023 19:42:57 -0400 Subject: [PATCH] frontend, backend: Remove unused imports Trying out https://unimport.hakancelik.dev --- bottles/backend/cabextract.py | 1 - bottles/backend/dlls/dll.py | 3 --- bottles/backend/managers/importer.py | 1 - bottles/backend/managers/runtime.py | 1 - bottles/backend/managers/steamgriddb.py | 1 - bottles/backend/models/vdict.py | 1 - bottles/backend/utils/decorators.py | 2 -- bottles/backend/utils/nvidia.py | 1 - bottles/backend/utils/steam.py | 3 +-- bottles/backend/utils/vdf.py | 3 --- bottles/backend/utils/vulkan.py | 2 -- bottles/backend/wine/cmd.py | 2 +- bottles/backend/wine/control.py | 1 - bottles/backend/wine/drives.py | 1 - bottles/backend/wine/eject.py | 1 - bottles/backend/wine/expand.py | 1 - bottles/backend/wine/explorer.py | 2 +- bottles/backend/wine/hh.py | 1 - bottles/backend/wine/icinfo.py | 1 - bottles/backend/wine/msiexec.py | 2 +- bottles/backend/wine/net.py | 2 +- bottles/backend/wine/notepad.py | 2 +- bottles/backend/wine/oleview.py | 1 - bottles/backend/wine/progman.py | 1 - bottles/backend/wine/regedit.py | 1 - bottles/backend/wine/regkeys.py | 1 - bottles/backend/wine/regsvr32.py | 3 --- bottles/backend/wine/rundll32.py | 1 - bottles/backend/wine/start.py | 2 +- bottles/backend/wine/taskmgr.py | 1 - bottles/backend/wine/uninstaller.py | 2 +- bottles/backend/wine/wineboot.py | 2 -- bottles/backend/wine/winebridge.py | 1 - bottles/backend/wine/winecfg.py | 1 - bottles/backend/wine/winedbg.py | 2 +- bottles/backend/wine/winefile.py | 1 - bottles/backend/wine/winepath.py | 1 - bottles/backend/wine/winhelp.py | 1 - bottles/backend/wine/xcopy.py | 2 +- bottles/frontend/main.py | 3 +-- bottles/frontend/utils/common.py | 2 -- bottles/frontend/views/library.py | 1 - bottles/frontend/widgets/installer.py | 2 +- bottles/frontend/windows/depscheck.py | 2 +- bottles/frontend/windows/envvars.py | 1 - bottles/frontend/windows/exclusionpatterns.py | 3 --- bottles/frontend/windows/fsr.py | 4 +--- bottles/frontend/windows/gamescope.py | 1 - bottles/frontend/windows/launchoptions.py | 1 - bottles/frontend/windows/protonalert.py | 2 +- bottles/frontend/windows/sandbox.py | 3 +-- bottles/frontend/windows/vkbasalt.py | 2 +- 52 files changed, 17 insertions(+), 69 deletions(-) diff --git a/bottles/backend/cabextract.py b/bottles/backend/cabextract.py index 13a39e4356..313b8fdbae 100644 --- a/bottles/backend/cabextract.py +++ b/bottles/backend/cabextract.py @@ -19,7 +19,6 @@ import shlex import shutil import subprocess -from gettext import gettext as _ from typing import Optional from bottles.backend.logger import Logger diff --git a/bottles/backend/dlls/dll.py b/bottles/backend/dlls/dll.py index 148a070a30..ab7563f2ea 100644 --- a/bottles/backend/dlls/dll.py +++ b/bottles/backend/dlls/dll.py @@ -17,8 +17,6 @@ import os import shutil -from glob import glob -from typing import NewType, Optional from abc import abstractmethod from copy import deepcopy @@ -27,7 +25,6 @@ from bottles.backend.models.enum import Arch from bottles.backend.utils.manager import ManagerUtils from bottles.backend.wine.reg import Reg -from bottles.backend.wine.wineboot import WineBoot logging = Logger() diff --git a/bottles/backend/managers/importer.py b/bottles/backend/managers/importer.py index a479c6edc7..85adbd9a98 100644 --- a/bottles/backend/managers/importer.py +++ b/bottles/backend/managers/importer.py @@ -18,7 +18,6 @@ import os from bottles.backend.models.config import BottleConfig -from bottles.backend.utils import yaml import subprocess from glob import glob from datetime import datetime diff --git a/bottles/backend/managers/runtime.py b/bottles/backend/managers/runtime.py index 0528ed27d3..00568e24a4 100644 --- a/bottles/backend/managers/runtime.py +++ b/bottles/backend/managers/runtime.py @@ -16,7 +16,6 @@ # import os -from pathlib import Path from functools import lru_cache from bottles.backend.globals import Paths diff --git a/bottles/backend/managers/steamgriddb.py b/bottles/backend/managers/steamgriddb.py index 6b0b3eb62a..2818bdeb36 100644 --- a/bottles/backend/managers/steamgriddb.py +++ b/bottles/backend/managers/steamgriddb.py @@ -18,7 +18,6 @@ import os import uuid import requests -from functools import lru_cache from bottles.backend.logger import Logger from bottles.backend.models.config import BottleConfig diff --git a/bottles/backend/models/vdict.py b/bottles/backend/models/vdict.py index 4e5bfb6c14..2f5d396f61 100644 --- a/bottles/backend/models/vdict.py +++ b/bottles/backend/models/vdict.py @@ -20,7 +20,6 @@ # # Original source code: -import sys from collections import Counter import collections.abc as _c diff --git a/bottles/backend/utils/decorators.py b/bottles/backend/utils/decorators.py index dedd714ac6..277d552a0d 100644 --- a/bottles/backend/utils/decorators.py +++ b/bottles/backend/utils/decorators.py @@ -16,9 +16,7 @@ # from functools import lru_cache, wraps -from threading import Lock as PyLock from time import monotonic_ns -from typing import Callable, Dict def cache(_func=None, *, seconds: int = 600, maxsize: int = 128, typed: bool = False): diff --git a/bottles/backend/utils/nvidia.py b/bottles/backend/utils/nvidia.py index 8ca0e5704f..abf4bde596 100644 --- a/bottles/backend/utils/nvidia.py +++ b/bottles/backend/utils/nvidia.py @@ -3,7 +3,6 @@ import os from ctypes import CDLL, POINTER, Structure, addressof, c_char_p, c_int, c_void_p, cast -import subprocess from bottles.backend.logger import Logger diff --git a/bottles/backend/utils/steam.py b/bottles/backend/utils/steam.py index 27cd1e87cc..dcb2dd06af 100644 --- a/bottles/backend/utils/steam.py +++ b/bottles/backend/utils/steam.py @@ -15,8 +15,7 @@ # along with this program. If not, see . # -import subprocess -from typing import Union, TextIO +from typing import TextIO from bottles.backend.models.vdict import VDFDict from bottles.backend.utils import vdf diff --git a/bottles/backend/utils/vdf.py b/bottles/backend/utils/vdf.py index e9192b8835..462c0284ca 100644 --- a/bottles/backend/utils/vdf.py +++ b/bottles/backend/utils/vdf.py @@ -26,15 +26,12 @@ __author__ = "Rossen Georgiev" import re -import sys import struct from binascii import crc32 from io import BytesIO from io import StringIO as unicodeIO from collections.abc import Mapping -from bottles.backend.models.vdict import VDFDict - string_type = str int_type = int BOMS = '\ufffe\ufeff' diff --git a/bottles/backend/utils/vulkan.py b/bottles/backend/utils/vulkan.py index 23ed347b56..eb9b566734 100644 --- a/bottles/backend/utils/vulkan.py +++ b/bottles/backend/utils/vulkan.py @@ -20,8 +20,6 @@ import shutil import subprocess -from bottles.backend.utils.display import DisplayUtils - class VulkanUtils: __vk_icd_dirs = [ diff --git a/bottles/backend/wine/cmd.py b/bottles/backend/wine/cmd.py index 498d09a21b..e00d437173 100644 --- a/bottles/backend/wine/cmd.py +++ b/bottles/backend/wine/cmd.py @@ -1,4 +1,4 @@ -from typing import NewType, Optional +from typing import Optional from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/control.py b/bottles/backend/wine/control.py index 1a989ab447..89f086ef72 100644 --- a/bottles/backend/wine/control.py +++ b/bottles/backend/wine/control.py @@ -1,4 +1,3 @@ -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/drives.py b/bottles/backend/wine/drives.py index 4dfb9c55ef..a104c79dbb 100644 --- a/bottles/backend/wine/drives.py +++ b/bottles/backend/wine/drives.py @@ -1,5 +1,4 @@ import os -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.models.config import BottleConfig diff --git a/bottles/backend/wine/eject.py b/bottles/backend/wine/eject.py index c9722855f1..fd74798912 100644 --- a/bottles/backend/wine/eject.py +++ b/bottles/backend/wine/eject.py @@ -1,4 +1,3 @@ -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/expand.py b/bottles/backend/wine/expand.py index 2c76015193..904f2d59b2 100644 --- a/bottles/backend/wine/expand.py +++ b/bottles/backend/wine/expand.py @@ -1,4 +1,3 @@ -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/explorer.py b/bottles/backend/wine/explorer.py index bbb8f4bb56..af4c0f3b18 100644 --- a/bottles/backend/wine/explorer.py +++ b/bottles/backend/wine/explorer.py @@ -1,4 +1,4 @@ -from typing import NewType, Optional +from typing import Optional from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/hh.py b/bottles/backend/wine/hh.py index 585c3fb418..8f438ab17e 100644 --- a/bottles/backend/wine/hh.py +++ b/bottles/backend/wine/hh.py @@ -1,4 +1,3 @@ -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/icinfo.py b/bottles/backend/wine/icinfo.py index 5b986cd967..5d8e0ca51b 100644 --- a/bottles/backend/wine/icinfo.py +++ b/bottles/backend/wine/icinfo.py @@ -1,4 +1,3 @@ -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/msiexec.py b/bottles/backend/wine/msiexec.py index df8cdb70aa..bc94b229c8 100644 --- a/bottles/backend/wine/msiexec.py +++ b/bottles/backend/wine/msiexec.py @@ -1,4 +1,4 @@ -from typing import NewType, Optional +from typing import Optional from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/net.py b/bottles/backend/wine/net.py index 143d5e21de..6265787976 100644 --- a/bottles/backend/wine/net.py +++ b/bottles/backend/wine/net.py @@ -1,4 +1,4 @@ -from typing import NewType, Optional +from typing import Optional from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/notepad.py b/bottles/backend/wine/notepad.py index d70e6a2e18..fb86910fe3 100644 --- a/bottles/backend/wine/notepad.py +++ b/bottles/backend/wine/notepad.py @@ -1,4 +1,4 @@ -from typing import NewType, Optional +from typing import Optional from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/oleview.py b/bottles/backend/wine/oleview.py index 5d6335cce1..45d0cd9e20 100644 --- a/bottles/backend/wine/oleview.py +++ b/bottles/backend/wine/oleview.py @@ -1,4 +1,3 @@ -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/progman.py b/bottles/backend/wine/progman.py index 51cefa9f41..9c8f085fdc 100644 --- a/bottles/backend/wine/progman.py +++ b/bottles/backend/wine/progman.py @@ -1,4 +1,3 @@ -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/regedit.py b/bottles/backend/wine/regedit.py index 7c39b28e47..9735bf9fbb 100644 --- a/bottles/backend/wine/regedit.py +++ b/bottles/backend/wine/regedit.py @@ -1,4 +1,3 @@ -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/regkeys.py b/bottles/backend/wine/regkeys.py index 6640f1dda1..f815ffcf8a 100644 --- a/bottles/backend/wine/regkeys.py +++ b/bottles/backend/wine/regkeys.py @@ -1,4 +1,3 @@ -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.models.config import BottleConfig diff --git a/bottles/backend/wine/regsvr32.py b/bottles/backend/wine/regsvr32.py index 2d794ecdc3..d118c0f130 100644 --- a/bottles/backend/wine/regsvr32.py +++ b/bottles/backend/wine/regsvr32.py @@ -1,6 +1,3 @@ -import os -import uuid -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/rundll32.py b/bottles/backend/wine/rundll32.py index cbccb0ba7a..b68a0bc32b 100644 --- a/bottles/backend/wine/rundll32.py +++ b/bottles/backend/wine/rundll32.py @@ -1,4 +1,3 @@ -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/start.py b/bottles/backend/wine/start.py index a5516e9b6c..a5e4b68910 100644 --- a/bottles/backend/wine/start.py +++ b/bottles/backend/wine/start.py @@ -1,4 +1,4 @@ -from typing import NewType, Optional +from typing import Optional from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/taskmgr.py b/bottles/backend/wine/taskmgr.py index 5d742e682b..e18ecde778 100644 --- a/bottles/backend/wine/taskmgr.py +++ b/bottles/backend/wine/taskmgr.py @@ -1,4 +1,3 @@ -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/uninstaller.py b/bottles/backend/wine/uninstaller.py index cb1e9d905f..84d00e08e6 100644 --- a/bottles/backend/wine/uninstaller.py +++ b/bottles/backend/wine/uninstaller.py @@ -1,4 +1,4 @@ -from typing import NewType, Optional +from typing import Optional from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/wineboot.py b/bottles/backend/wine/wineboot.py index 17ba8fff18..9e5dfe6b86 100644 --- a/bottles/backend/wine/wineboot.py +++ b/bottles/backend/wine/wineboot.py @@ -1,5 +1,3 @@ -import subprocess -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/winebridge.py b/bottles/backend/wine/winebridge.py index 9021cd4d7d..d8c28363a8 100644 --- a/bottles/backend/wine/winebridge.py +++ b/bottles/backend/wine/winebridge.py @@ -1,5 +1,4 @@ import os -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/winecfg.py b/bottles/backend/wine/winecfg.py index c359ec5f92..d961e2d5dc 100644 --- a/bottles/backend/wine/winecfg.py +++ b/bottles/backend/wine/winecfg.py @@ -1,4 +1,3 @@ -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/winedbg.py b/bottles/backend/wine/winedbg.py index c14f281fda..064b935ba6 100644 --- a/bottles/backend/wine/winedbg.py +++ b/bottles/backend/wine/winedbg.py @@ -1,7 +1,7 @@ import re import time import subprocess -from typing import NewType, Optional +from typing import Optional from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/winefile.py b/bottles/backend/wine/winefile.py index 0727c955a6..890d9d601a 100644 --- a/bottles/backend/wine/winefile.py +++ b/bottles/backend/wine/winefile.py @@ -1,4 +1,3 @@ -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/winepath.py b/bottles/backend/wine/winepath.py index b16597f92b..c1fb5db267 100644 --- a/bottles/backend/wine/winepath.py +++ b/bottles/backend/wine/winepath.py @@ -1,5 +1,4 @@ import re -from typing import NewType from functools import lru_cache from bottles.backend.logger import Logger diff --git a/bottles/backend/wine/winhelp.py b/bottles/backend/wine/winhelp.py index 62f7169493..69d3807e74 100644 --- a/bottles/backend/wine/winhelp.py +++ b/bottles/backend/wine/winhelp.py @@ -1,4 +1,3 @@ -from typing import NewType from bottles.backend.logger import Logger from bottles.backend.wine.wineprogram import WineProgram diff --git a/bottles/backend/wine/xcopy.py b/bottles/backend/wine/xcopy.py index e4fa792e46..561e2058dd 100644 --- a/bottles/backend/wine/xcopy.py +++ b/bottles/backend/wine/xcopy.py @@ -1,4 +1,4 @@ -from typing import NewType, Optional +from typing import Optional from datetime import datetime from bottles.backend.logger import Logger diff --git a/bottles/frontend/main.py b/bottles/frontend/main.py index 9478e4b7f3..ab4d95c65f 100644 --- a/bottles/frontend/main.py +++ b/bottles/frontend/main.py @@ -21,7 +21,6 @@ import gettext import locale import webbrowser -import subprocess from os import path gi.require_version('Gtk', '4.0') @@ -30,7 +29,7 @@ #gi.require_version("Xdp", "1.0") #gi.require_version("XdpGtk4", "1.0") -from gi.repository import Gtk, Gio, Gdk, GLib, GObject, Adw +from gi.repository import Gtk, Gio, GLib, GObject, Adw from bottles.frontend.params import * from bottles.backend.logger import Logger diff --git a/bottles/frontend/utils/common.py b/bottles/frontend/utils/common.py index 25d23059e3..ba9c6a7f49 100644 --- a/bottles/frontend/utils/common.py +++ b/bottles/frontend/utils/common.py @@ -17,8 +17,6 @@ import webbrowser -from gi.repository import GLib - def open_doc_url(widget, page): webbrowser.open_new_tab(f"https://docs.usebottles.com/{page}") diff --git a/bottles/frontend/views/library.py b/bottles/frontend/views/library.py index 5f05f49552..9f96eadc48 100644 --- a/bottles/frontend/views/library.py +++ b/bottles/frontend/views/library.py @@ -16,7 +16,6 @@ # import contextlib -import re from gettext import gettext as _ from gi.repository import Gtk, Adw, GObject diff --git a/bottles/frontend/widgets/installer.py b/bottles/frontend/widgets/installer.py index 65274d9b11..ff366b6746 100644 --- a/bottles/frontend/widgets/installer.py +++ b/bottles/frontend/widgets/installer.py @@ -15,7 +15,7 @@ # along with this program. If not, see . # -from gi.repository import Gtk, GLib, Adw +from gi.repository import Gtk, Adw from gettext import gettext as _ import webbrowser diff --git a/bottles/frontend/windows/depscheck.py b/bottles/frontend/windows/depscheck.py index 0e6f326824..d83dfeb0bd 100644 --- a/bottles/frontend/windows/depscheck.py +++ b/bottles/frontend/windows/depscheck.py @@ -15,7 +15,7 @@ # along with this program. If not, see . # -from gi.repository import Gtk, GLib, Adw +from gi.repository import Gtk, Adw @Gtk.Template(resource_path='/com/usebottles/bottles/dialog-deps-check.ui') diff --git a/bottles/frontend/windows/envvars.py b/bottles/frontend/windows/envvars.py index 946c6242de..64d30badab 100644 --- a/bottles/frontend/windows/envvars.py +++ b/bottles/frontend/windows/envvars.py @@ -15,7 +15,6 @@ # along with this program. If not, see . # -import re from gi.repository import Gtk, GLib, Adw from bottles.frontend.utils.gtk import GtkUtils diff --git a/bottles/frontend/windows/exclusionpatterns.py b/bottles/frontend/windows/exclusionpatterns.py index cebe2becec..139d9c6c60 100644 --- a/bottles/frontend/windows/exclusionpatterns.py +++ b/bottles/frontend/windows/exclusionpatterns.py @@ -15,11 +15,8 @@ # along with this program. If not, see . # -import re from gi.repository import Gtk, GLib, Adw -from bottles.frontend.utils.gtk import GtkUtils - @Gtk.Template(resource_path='/com/usebottles/bottles/exclusion-pattern-entry.ui') class ExclusionPatternEntry(Adw.ActionRow): diff --git a/bottles/frontend/windows/fsr.py b/bottles/frontend/windows/fsr.py index 1140c1a2b8..99838fb6b6 100644 --- a/bottles/frontend/windows/fsr.py +++ b/bottles/frontend/windows/fsr.py @@ -15,9 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -import os -from gi.repository import Gtk, GLib, Adw, Gdk -from bottles.backend.utils.manager import ManagerUtils +from gi.repository import Gtk, GLib, Adw from bottles.backend.logger import Logger logging = Logger() diff --git a/bottles/frontend/windows/gamescope.py b/bottles/frontend/windows/gamescope.py index bc87cb721d..f1559e4099 100644 --- a/bottles/frontend/windows/gamescope.py +++ b/bottles/frontend/windows/gamescope.py @@ -15,7 +15,6 @@ # along with this program. If not, see . # -import re from gi.repository import Gtk, GLib, Adw diff --git a/bottles/frontend/windows/launchoptions.py b/bottles/frontend/windows/launchoptions.py index 093ceb8943..07eadcc41c 100644 --- a/bottles/frontend/windows/launchoptions.py +++ b/bottles/frontend/windows/launchoptions.py @@ -15,7 +15,6 @@ # along with this program. If not, see . # -import os from gi.repository import Gtk, GLib, GObject, Adw from bottles.backend.utils.manager import ManagerUtils diff --git a/bottles/frontend/windows/protonalert.py b/bottles/frontend/windows/protonalert.py index 0d40462b24..58837f3549 100644 --- a/bottles/frontend/windows/protonalert.py +++ b/bottles/frontend/windows/protonalert.py @@ -15,7 +15,7 @@ # along with this program. If not, see . # -from gi.repository import Gtk, GLib, Adw +from gi.repository import Gtk, Adw @Gtk.Template(resource_path='/com/usebottles/bottles/dialog-proton-alert.ui') diff --git a/bottles/frontend/windows/sandbox.py b/bottles/frontend/windows/sandbox.py index 3e21d630dc..3f47a98322 100644 --- a/bottles/frontend/windows/sandbox.py +++ b/bottles/frontend/windows/sandbox.py @@ -15,8 +15,7 @@ # along with this program. If not, see . # -import re -from gi.repository import Gtk, GLib, Adw +from gi.repository import Gtk, Adw @Gtk.Template(resource_path='/com/usebottles/bottles/dialog-sandbox.ui') diff --git a/bottles/frontend/windows/vkbasalt.py b/bottles/frontend/windows/vkbasalt.py index ca1101679f..191eecca6b 100644 --- a/bottles/frontend/windows/vkbasalt.py +++ b/bottles/frontend/windows/vkbasalt.py @@ -26,7 +26,7 @@ ''' import os -from gi.repository import Gtk, GLib, Adw, Gdk +from gi.repository import Gtk, GLib, Adw from vkbasalt.lib import parse, ParseConfig from bottles.backend.utils.manager import ManagerUtils from bottles.backend.logger import Logger