diff options
| author | 2019-02-24 21:14:08 +0000 | |
|---|---|---|
| committer | 2019-02-24 21:14:08 +0000 | |
| commit | 6771c3fec19ae32367f7d6a6c71bb537fdacd70a (patch) | |
| tree | 9785e4f2eaf542a792f21d5f269b92b08e0c33bc /modules | |
| parent | Remove superfluous json import and change datetime to match code standards. (diff) | |
| signature | ||
Switch to elif
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/imgur.py | 2 |
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: |
