1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +03:00

plugins/inara: Minor typing fixes

This commit is contained in:
Athanasius 2022-12-22 16:35:42 +00:00
parent 71cbfb8358
commit e66bae090b
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

View File

@ -30,12 +30,12 @@ from dataclasses import dataclass
from datetime import datetime, timedelta, timezone
from operator import itemgetter
from threading import Lock, Thread
from tkinter import ttk
from typing import TYPE_CHECKING, Any, Callable, Deque, Dict, List, Mapping, NamedTuple, Optional
from typing import OrderedDict as OrderedDictT
from typing import Sequence, Union, cast
import requests
import ttk
import edmc_data
import killswitch
@ -236,7 +236,7 @@ def plugin_stop() -> None:
logger.debug('Done.')
def plugin_prefs(parent: ttk.Frame, cmdr: str, is_beta: bool) -> tk.Frame:
def plugin_prefs(parent: ttk.Notebook, cmdr: str, is_beta: bool) -> tk.Frame:
"""Plugin Preferences UI hook."""
x_padding = 10
x_button_padding = 12 # indent Checkbuttons and Radiobuttons