From 6771c3fec19ae32367f7d6a6c71bb537fdacd70a Mon Sep 17 00:00:00 2001 From: Dan Date: Sun, 24 Feb 2019 21:14:08 +0000 Subject: Switch to elif --- modules/imgur.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/imgur.py') 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: -- cgit v1.3.1-10-gc9f91