Skip to content

Commit

Permalink
messed up again
Browse files Browse the repository at this point in the history
  • Loading branch information
iDutchy committed Sep 5, 2020
1 parent 202ac0c commit 123d3d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
setup(
name = 'sr_api',
packages = ['sr_api'],
version = '1.0.1',
version = '1.0.2',
license='MIT',
description = 'An async wrapper for some-random-api',
author = 'Niels Steenman',
author_email = '[email protected]',
url = 'https://github.com/iDutchy/sr_api',
download_url = 'https://github.com/iDutchy/sr_api/archive/1.0.1.tar.gz',
download_url = 'https://github.com/iDutchy/sr_api/archive/1.0.2.tar.gz',
keywords = ['wrapper', 'api', 'random'],
install_requires=['aiohttp'],
classifiers=[
Expand Down
2 changes: 1 addition & 1 deletion sr_api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, key=None):
self.key = key

def srapi_url(self, path):
return self.SR_API_BASE + path + (("&key=" + key) if key else "")
return self.SR_API_BASE + path + (("&key=" + self.key) if self.key else "")

async def get_image(self, name=None):
options = ("dog", "cat", "panda", "red_panda", "fox", "birb", "koala",
Expand Down

0 comments on commit 123d3d7

Please sign in to comment.