Skip to content

Commit

Permalink
update comics to v0.3.1 - fix bug in constants directory
Browse files Browse the repository at this point in the history
  • Loading branch information
irahorecka committed Dec 26, 2023
1 parent 851b22d commit 46d0b47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion comics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
from comics.gocomics import search


__version__ = "0.3.0"
__version__ = "0.3.1"
4 changes: 2 additions & 2 deletions comics/constants.py → comics/constants/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from comics.exceptions import InvalidEndpointError

ROOT_PATH = Path(__file__).resolve().parent.parent
FILE_PATH = Path(__file__).resolve().parent


def _read_json(filepath, **kwargs):
Expand Down Expand Up @@ -54,7 +54,7 @@ def wrapper(*args, **kwargs):
class directory:
"""Directory of registered comics in GoComics."""

_registered_comics = _read_json(ROOT_PATH / "constants" / "endpoints.json")
_registered_comics = _read_json(FILE_PATH / "endpoints.json")

@classmethod
def listall(cls):
Expand Down
File renamed without changes.

0 comments on commit 46d0b47

Please sign in to comment.