From 6771c3fec19ae32367f7d6a6c71bb537fdacd70a Mon Sep 17 00:00:00 2001 From: Dan <294904+dngfx@users.noreply.github.com> Date: Sun, 24 Feb 2019 21:14:08 +0000 Subject: [PATCH] Switch to elif --- modules/imgur.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgur.py b/modules/imgur.py index 2aaf97bb..8967cce1 100644 --- a/modules/imgur.py +++ b/modules/imgur.py @@ -37,7 +37,7 @@ class Module(ModuleManager.BaseModule): if match_gallery: reply = self._parse_gallery(match_gallery.group(1)) - if match_image and not reply: + elif match_image: reply = self._parse_image(match_image.group(1)) if not reply: