Skip to content

Commit

Permalink
fix: don't create a directory named "~"
Browse files Browse the repository at this point in the history
  • Loading branch information
zhudotexe committed Jun 14, 2024
1 parent 48cad81 commit f88b300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fanoutqa/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

AnyPath: TypeAlias = Union[str, bytes, os.PathLike]
PKG_ROOT = Path(__file__).parent
CACHE_DIR = Path("~/.cache/fanoutqa")
CACHE_DIR = Path("~/.cache/fanoutqa").expanduser()
CACHE_DIR.mkdir(exist_ok=True, parents=True)
DATASET_EPOCH = datetime.datetime(year=2023, month=11, day=20, tzinfo=datetime.timezone.utc)
"""The day before which to get revisions from Wikipedia, to ensure that the contents of pages don't change over time."""
Expand Down

0 comments on commit f88b300

Please sign in to comment.