Switch to elif
This commit is contained in:
parent
ccd924d9e7
commit
6771c3fec1
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
if match_gallery:
|
if match_gallery:
|
||||||
reply = self._parse_gallery(match_gallery.group(1))
|
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))
|
reply = self._parse_image(match_image.group(1))
|
||||||
|
|
||||||
if not reply:
|
if not reply:
|
||||||
|
|
Loading…
Reference in a new issue