Fix for calling story mode definition while it's off

pull/1410/head
Simon 2 years ago
parent c88a435f1c
commit 6041cce53e

@ -63,9 +63,9 @@ def get_screenshots_of_reddit_posts(reddit_object: dict, screenshot_num: int):
) )
bgcolor = (255, 255, 255, 255) bgcolor = (255, 255, 255, 255)
txtcolor = (0, 0, 0) txtcolor = (0, 0, 0)
if settings.config["settings"]["storymodemethod"] == 1: if storymode and settings.config["settings"]["storymodemethod"] == 1:
# for idx,item in enumerate(reddit_object["thread_post"]): # for idx,item in enumerate(reddit_object["thread_post"]):
imagemaker(theme=bgcolor, reddit_obj=reddit_object, txtclr=txtcolor) return imagemaker(theme=bgcolor, reddit_obj=reddit_object, txtclr=txtcolor)
cookies = json.load(cookie_file) cookies = json.load(cookie_file)
cookie_file.close() cookie_file.close()

Loading…
Cancel
Save