Skip to content

Commit a818b2e

Browse files
committed
lint checks
1 parent bd2e087 commit a818b2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proxy/common/logger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111
import logging
1212

13-
from typing import Optional, Union
13+
from typing import Optional, Any
1414

1515
from .constants import DEFAULT_LOG_FILE, DEFAULT_LOG_FORMAT, DEFAULT_LOG_LEVEL
1616

@@ -23,7 +23,7 @@
2323
}
2424

2525

26-
def single_char_to_level(char: str) -> str:
26+
def single_char_to_level(char: str) -> Any:
2727
return getattr(logging, SINGLE_CHAR_TO_LEVEL[char.upper()[0]])
2828

2929

0 commit comments

Comments
 (0)