diff --git a/README.md b/README.md index 177aaf4..fc6eb0b 100644 --- a/README.md +++ b/README.md @@ -27,5 +27,11 @@ gif = gif.get_gif() * Cry * Cuddle * Dance +* Disgust +* Facedesk +* Facepalm +* Flick +* Flirt +* Handhold WIP. diff --git a/animegifs/animegifs.py b/animegifs/animegifs.py index fc210c5..5c4d05a 100644 --- a/animegifs/animegifs.py +++ b/animegifs/animegifs.py @@ -28,6 +28,18 @@ def get_gif(self): gif = random.choice(gifs.cuddle) elif self.category == 'dance': gif = random.choice(gifs.dance) + elif self.category == 'disgust': + gif = random.choice(gifs.disgust) + elif self.category == 'facedesk': + gif = random.choice(gifs.facedesk) + elif self.category == 'facepalm': + gif = random.choice(gifs.facepalm) + elif self.category == 'flick': + gif = random.choice(gifs.flick) + elif self.category == 'flirt': + gif = random.choice(gifs.flirt) + elif self.category == 'handhold': + gif = random.choice(gifs.handhold) else: raise Exception("Not a valid category.") return gif diff --git a/animegifs/dis_utils/gifs.py b/animegifs/dis_utils/gifs.py index c8fa84a..3571d88 100644 --- a/animegifs/dis_utils/gifs.py +++ b/animegifs/dis_utils/gifs.py @@ -14,3 +14,9 @@ cry = data['cry'] cuddle = data['cuddle'] dance = data['dance'] +disgust = data['disgust'] +facedesk = data['facedesk'] +facepalm = data['facepalm'] +flick = data['flick'] +flirt = data['flirt'] +handhold = data['handhold'] diff --git a/setup.py b/setup.py index 27f5999..70dd0e6 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ long_description = "\n" + fh.read() LONG_DESCRIPTION = long_description -VERSION = '0.2.3' +VERSION = '0.2.4' setup( name='animegifs',