aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Dan2019-02-24 21:14:08 +0000
committerGravatar dngfx2019-02-24 21:14:08 +0000
commit6771c3fec19ae32367f7d6a6c71bb537fdacd70a (patch)
tree9785e4f2eaf542a792f21d5f269b92b08e0c33bc
parentRemove superfluous json import and change datetime to match code standards. (diff)
signature
Switch to elif
-rw-r--r--modules/imgur.py2
1 files changed, 1 insertions, 1 deletions
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: