mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-05 11:27:13 +00:00
Fix type checker error in discord.__main__
This commit is contained in:
parent
ac0e4fabb8
commit
fc4e5d6237
@ -22,6 +22,9 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
from typing import Dict, Optional
|
||||
|
||||
import argparse
|
||||
import sys
|
||||
from pathlib import Path
|
||||
@ -158,7 +161,7 @@ _cog_extras = '''
|
||||
# certain file names and directory names are forbidden
|
||||
# see: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx
|
||||
# although some of this doesn't apply to Linux, we might as well be consistent
|
||||
_base_table = {
|
||||
_base_table: Dict[str, Optional[str]] = {
|
||||
'<': '-',
|
||||
'>': '-',
|
||||
':': '-',
|
||||
|
Loading…
x
Reference in New Issue
Block a user