Skip to content

Commit

Permalink
🤡🤡
Browse files Browse the repository at this point in the history
  • Loading branch information
JedrzejM committed Oct 4, 2024
1 parent e94c6c2 commit 9f32aae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
/tester.py
/downloads
/requirements.txt
/pypi-tester.py
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ dependencies = [
]
requires-python = ">=3.7"

[tool.setuptools]
package-dir = {"" = "src"}

[tool.setuptools.packages.find]
where = ["src"]

[project.urls]
Github = "https://github.com/pam-param-pam/Disney-Plus-api-wrapper"

4 changes: 2 additions & 2 deletions src/pydisney/utils/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def parse_profile(profile_json):
def parse_hits(hits_json, search=False):
# lazy importing to avoid circular import
# im dumb and can't design the module structure better
from models.Series import Series
from models.Movie import Movie
from ..models.Series import Series
from ..models.Movie import Movie

hits = []
for hit_json in hits_json:
Expand Down

0 comments on commit 9f32aae

Please sign in to comment.