From 8fef15b1d0f505bb64628ae515d1c9c42711b303 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Sat, 14 Nov 2020 23:12:03 -0700 Subject: [PATCH] Fix linter errors --- sublime_music/adapters/adapter_base.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sublime_music/adapters/adapter_base.py b/sublime_music/adapters/adapter_base.py index 342a116..356db97 100644 --- a/sublime_music/adapters/adapter_base.py +++ b/sublime_music/adapters/adapter_base.py @@ -2,7 +2,6 @@ import abc import copy import hashlib import uuid -import gi from dataclasses import dataclass from datetime import timedelta from enum import Enum @@ -19,7 +18,9 @@ from typing import ( Tuple, ) -gi.require_version('Gtk', '3.0') +import gi + +gi.require_version("Gtk", "3.0") from gi.repository import Gtk try: