Skip to content

Commit

Permalink
Version 2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Sas2k committed Jun 22, 2022
1 parent 29905c7 commit e47252c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "xkcd-python"
version = "2.8.0"
version = "2.9.0"
description = "A wrapper for xkcd.com's API. Built Using Python."
authors = ["Sasen Perera <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
setup(
# the name must match the folder name 'verysimplemodule'
name= "xkcd_python",
version= "2.8.0",
version= "2.9.0",
author= xkcd_python.__author__,
author_email= "[email protected]",
description= xkcd_python.__shot_des__,
Expand Down
2 changes: 1 addition & 1 deletion xkcd_python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Client = xkcd

__version__ = '2.7.5'
__version__ = '2.9.0'
__author__ = "Sasen Perera"
__shot_des__ = "A python wrapper for xkcd.com"
__description__ = "A wrapper for xkcd.com's API. Built Using Python."
2 changes: 1 addition & 1 deletion xkcd_python/xkcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def random(self = None):
random_comic = request("GET", f"https://xkcd.com/{comic_id}/info.0.json")
return random_comic.json()

def get(id: int, self = None):
def get(id: int):
comic = request("GET", f"https://xkcd.com/{id}/info.0.json")
return comic.json()

Expand Down

0 comments on commit e47252c

Please sign in to comment.