mirror of
https://github.com/9001/copyparty.git
synced 2026-03-16 21:23:42 +10:00
make pylance happier
This commit is contained in:
@@ -47,10 +47,8 @@ from .util import (
|
||||
if TYPE_CHECKING:
|
||||
from .broker_util import BrokerCli
|
||||
|
||||
try:
|
||||
if True: # pylint: disable=using-constant-test
|
||||
from typing import Any, Optional
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
class HttpSrv(object):
|
||||
|
||||
Reference in New Issue
Block a user