Skip to content

Commit

Permalink
0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoSa-2000 committed Jul 1, 2022
1 parent 53c981c commit a67eda6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ gif = gif.get_gif()
* Bonk
* Brofist
* Cry
* Cuddle
* Dance

WIP.
4 changes: 4 additions & 0 deletions animegifs/animegifs.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ def get_gif(self):
gif = random.choice(gifs.brofist)
elif self.category == 'cry':
gif = random.choice(gifs.cry)
elif self.category == 'cuddle':
gif = random.choice(gifs.cuddle)
elif self.category == 'dance':
gif = random.choice(gifs.dance)
else:
raise Exception("Not a valid category.")
return gif
2 changes: 2 additions & 0 deletions animegifs/dis_utils/gifs.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@
bonk = data['bonk']
brofist = data['brofist']
cry = data['cry']
cuddle = data['cuddle']
dance = data['dance']
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
long_description = "\n" + fh.read()

LONG_DESCRIPTION = long_description
VERSION = '0.2.2'
VERSION = '0.2.3'

setup(
name='animegifs',
Expand All @@ -26,5 +26,5 @@
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows"],
keywords=['anime', 'gif', 'python'],
keywords=['anime', 'gif', 'python', 'anime-gif'],
)

0 comments on commit a67eda6

Please sign in to comment.