Compare commits

..

No commits in common. "162ce084472c40804f7528f0f47c20f7008fd343" and "327180d1060ee9dbc70df293a1169e51f3c7710f" have entirely different histories.

3 changed files with 4 additions and 2 deletions

View File

@ -44,3 +44,5 @@ for path, image in resized_images:
current_image_number += 1 current_image_number += 1
if current_col == cols: if current_col == cols:
current_col = 0 current_col = 0
new_image.show()

View File

@ -63,7 +63,7 @@ def dump():
users.sort() users.sort()
for user in users: for user in users:
mention_text = f"@{user}" mention_text = f"@{user}"
line = f"{user} is {all_content.count(mention_text)} times mentioned on devRant(developer community)." line = f"{user} is {all_content.count(mention_text)} times mentioned on devRant(developer comminity)."
printr(line) printr(line)
print(line) print(line)
print("```") print("```")

View File

@ -32,7 +32,7 @@ async def get_recent_rants(start_from=1, page_size=10):
def get_rants(): def get_rants():
return dr.get_rants("recent", page_size, start_from)["rants"] return dr.get_rants("recent", page_size, start_from)["rants"]
rants = asyncio.wait_for(loop.run_in_executor(None,get_rants), 15) rants = asyncio.wait_for(loop.run_in_executor(get_rants), 5)
page += 1 page += 1
for rant in rants: for rant in rants: