Skip to content

Commit

Permalink
Fix entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatsh committed Mar 5, 2025
1 parent 9fc7f4d commit 064238d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion instagram_archiver/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __init__(self,
self._browser_profile = browser_profile
self._setup_session(browser, browser_profile)
self._output_dir = Path(output_dir or Path().resolve() / username)
Path(self._output_dir).mkdir(parents=True)
Path(self._output_dir).mkdir(parents=True, exist_ok=True)
self._log_db = Path(log_file or self._output_dir / '.log.db')
self._connection = sqlite3.connect(self._log_db)
self._cursor = self._connection.cursor()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pytest-mock = "^3.12.0"
requests-mock = "^1.11.0"

[tool.poetry.scripts]
ia = "instagram_archiver:main"
ia = "instagram_archiver.main:main"

[build-system]
build-backend = "poetry.core.masonry.api"
Expand Down

0 comments on commit 064238d

Please sign in to comment.