Skip to content

Commit

Permalink
Merge pull request #9 from knewkarma-io/dev
Browse files Browse the repository at this point in the history
Minor update
  • Loading branch information
rly0nheart authored Oct 20, 2024
2 parents ffc392e + ca2dba7 commit 73a0037
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "kraw"
version = "0.2.5"
version = "0.2.6"
description = "Reddit API wrapper for Knew Karma"
authors = ["Richard Mwewa <[email protected]>"]
license = "GPL-3.0+"
Expand Down
10 changes: 5 additions & 5 deletions src/kraw/reddit.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ async def comments(
)

if message:
message.ok(f"Got {len(comments)} comments from {kind}")
message.ok(f"Got {len(comments)}/{limit} comments from {kind}")

return comments

Expand Down Expand Up @@ -191,7 +191,7 @@ async def posts(
)

if message:
message.ok(f"Got {len(posts)} {kind} posts")
message.ok(f"Got {len(posts)}/{limit} {kind} posts")

return posts

Expand Down Expand Up @@ -237,7 +237,7 @@ async def search(
)

if message:
message.ok(f"Got {len(results)} {kind} search results")
message.ok(f"Got {len(results)}/{limit} {kind} search results")

return results

Expand Down Expand Up @@ -298,7 +298,7 @@ async def subreddits(
)

if message:
message.ok(f"Got {len(subreddits)} {kind} subreddit")
message.ok(f"Got {len(subreddits)}/{limit} {kind} subreddit")

return subreddits

Expand Down Expand Up @@ -353,7 +353,7 @@ async def users(
)

if message:
message.ok(f"Got {len(users)} {kind} user")
message.ok(f"Got {len(users)}/{limit} {kind} user")

return users

Expand Down

0 comments on commit 73a0037

Please sign in to comment.