fixed small bug

This commit is contained in:
klemek
2020-04-24 11:24:17 +02:00
parent ed01ca6668
commit 621a466ee9
+1 -1
View File
@@ -52,7 +52,7 @@ def compute(*args, left_wmark_text=None, debug=False):
c = 0
for i in range(len(meme.texts)):
if meme.texts[i].text_ref is None:
if i < len(args) - 1:
if i < len(args):
meme.texts[i].text = parse_text(args[c + 1])
else:
meme.texts[i].text = ""