Merge branch 'master' of https://github.com/electro199/RedditVideoMakerBot
This commit is contained in:
commit
54db3e1073
3 files changed
+5
-8
No files matched your search
@@ -105,6 +105,6 @@ if __name__ == "__main__":
|
||||
shutdown()
|
||||
except Exception as err :
|
||||
|
||||
print_step('looks like some thing gone wrong in testing builts it happens report on us discord')
|
||||
print_step('Sorry, something went wrong with this test version! Try again, and feel free to report this issue at GitHub or the Discord community.')
|
||||
raise err
|
||||
# todo error
|
||||
+1
-1
@@ -14,4 +14,4 @@ pyttsx3==2.90
|
||||
Pillow~=9.1.1
|
||||
tomlkit==0.11.4
|
||||
Flask==2.2.2
|
||||
spacy==3.4.2
|
||||
spacy==3.4.1
|
||||
@@ -132,12 +132,9 @@ def get_screenshots_of_reddit_posts(reddit_object: dict, screenshot_num: int):
|
||||
bgcolor=(255,255,255,255)
|
||||
txtcolor=(0,0,0)
|
||||
if settings.config["settings"]["storymode"] :
|
||||
# if settings.config["settings"]["storymodemethode"] == 0:
|
||||
# story=True
|
||||
|
||||
if settings.config["settings"]["storymodemethod"] == 1 :
|
||||
# for idx,item in enumerate(reddit_object["thread_post"]):
|
||||
imagemaker(theme=bgcolor,reddit_obj=reddit_object,txtclr=txtcolor)
|
||||
if settings.config["settings"]["storymodemethod"] == 1:
|
||||
# for idx,item in enumerate(reddit_object["thread_post"]):
|
||||
imagemaker(theme=bgcolor,reddit_obj=reddit_object,txtclr=txtcolor)
|
||||
|
||||
if settings.config["settings"]["storymodemethod"] == 0 or not settings.config["settings"]["storymode"] :
|
||||
download(cookie_file, screenshot_num)
|
||||
Reference in new issue
Block a user