forked from AFPy/potodo
Fixed typing in return on function _get_cache_file_content based on code review
This commit is contained in:
parent
08059f7efa
commit
150be9dabc
|
@ -8,7 +8,7 @@ from typing import Tuple
|
|||
|
||||
def _get_cache_file_content(
|
||||
path: str = ".potodo/cache.pickle",
|
||||
) -> Optional[Tuple[datetime, dict]]:
|
||||
) -> Tuple[Optional[datetime], Optional[dict]]:
|
||||
try:
|
||||
with open(path, "rb") as handle:
|
||||
data = pickle.load(handle)
|
||||
|
|
Loading…
Reference in New Issue
Block a user