Compare commits

...
3 Commits
Author SHA1 Message Date
retoor 162ce08447 Bugfix.
dR export statistics scheduled / Export (push) Successful in 6m58s
dR export statistics build / Build (push) Successful in 7m11s
2024-12-03 04:34:56 +01:00
retoor 8e01e1484e Run in executor 2024-12-03 04:31:24 +01:00
retoor b569a1ea15 Run in executor 2024-12-03 04:31:24 +01:00
3 changed files with 2 additions and 4 deletions
-2
View File
@@ -44,5 +44,3 @@ for path, image in resized_images:
current_image_number += 1
if current_col == cols:
current_col = 0
new_image.show()
+1 -1
View File
@@ -63,7 +63,7 @@ def dump():
users.sort()
for user in users:
mention_text = f"@{user}"
line = f"{user} is {all_content.count(mention_text)} times mentioned on devRant(developer comminity)."
line = f"{user} is {all_content.count(mention_text)} times mentioned on devRant(developer community)."
printr(line)
print(line)
print("```")
+1 -1
View File
@@ -32,7 +32,7 @@ async def get_recent_rants(start_from=1, page_size=10):
def get_rants():
return dr.get_rants("recent", page_size, start_from)["rants"]
rants = asyncio.wait_for(loop.run_in_executor(get_rants), 5)
rants = asyncio.wait_for(loop.run_in_executor(None,get_rants), 15)
page += 1
for rant in rants: