Skip to content

Commit

Permalink
fix: workaround for old version of python
Browse files Browse the repository at this point in the history
  • Loading branch information
rmb122 committed Nov 13, 2022
1 parent d1f1392 commit 99343f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions DeleteMyHistory.py
Expand Up @@ -9,6 +9,7 @@
import bs4
import requests
import toml
import typing_extensions

logging.basicConfig(level=logging.INFO, format='[%(asctime)s] [%(levelname)s] %(message)s')
logger = logging.getLogger(__name__)
Expand All @@ -19,12 +20,12 @@ def __hash__(self):
return hash(tuple(sorted(self.items())))


class ModuleConfig(typing.TypedDict):
class ModuleConfig(typing_extensions.TypedDict):
enable: bool
start_page: int


class GlobalConfig(typing.TypedDict):
class GlobalConfig(typing_extensions.TypedDict):
user_agent: str
cookie_file: str

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Expand Up @@ -4,3 +4,4 @@ bs4
requests
lxml
toml
typing_extensions

0 comments on commit 99343f2

Please sign in to comment.