1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-16 09:10:35 +03:00

Added fake definition for _

_ is added by magic in the plugin loading system, which means there are
no imports to indicate its existence to static analysis tools.
This commit is contained in:
A_D 2020-08-18 10:22:59 +02:00
parent d2a1f09fac
commit 743984eb11
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

View File

@ -20,6 +20,7 @@ import urllib.parse
import urllib.request
from queue import Queue
from threading import Thread
from typing import TYPE_CHECKING, Any
import requests
@ -28,6 +29,10 @@ import plug
from config import applongname, appname, appversion, config
from ttkHyperlinkLabel import HyperlinkLabel
if TYPE_CHECKING:
def _(x: str) -> str:
return x
logger = logging.getLogger(appname)
EDSM_POLL = 0.1