Skip to content

Commit 29905c7

Browse files
committed
Small Bug Fix
1 parent 3267eb5 commit 29905c7

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "xkcd-python"
3-
version = "2.7.0"
3+
version = "2.8.0"
44
description = "A wrapper for xkcd.com's API. Built Using Python."
55
authors = ["Sasen Perera <sasen.learnings@gmail.com>"]
66
license = "MIT"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
setup(
66
# the name must match the folder name 'verysimplemodule'
77
name= "xkcd_python",
8-
version= "2.7.0",
8+
version= "2.8.0",
99
author= xkcd_python.__author__,
1010
author_email= "sasen.learnings@gmail.com",
1111
description= xkcd_python.__shot_des__,

xkcd_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Client = xkcd
44

5-
__version__ = '2.7.0'
5+
__version__ = '2.7.5'
66
__author__ = "Sasen Perera"
77
__shot_des__ = "A python wrapper for xkcd.com"
88
__description__ = "A wrapper for xkcd.com's API. Built Using Python."

xkcd_python/xkcd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ def get(id: int, self = None):
1717

1818
def latest_comic(self = None):
1919
comic = request("Get", f"https://xkcd.com/info.0.json")
20-
return comic.json
20+
return comic.json()

0 commit comments

Comments
 (0)