Skip to content

Commit

Permalink
fix: get notices from seqno 1 to ignore negative notice
Browse files Browse the repository at this point in the history
fixes: #60
  • Loading branch information
SplinterHead committed Jul 31, 2023
1 parent a0eb6e8 commit a1049c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boinc_client/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def message_count(client: RpcClient) -> dict:
return MessageCount().load(rpc_json)


def public_notices(client: RpcClient, start: int = 0) -> dict:
def public_notices(client: RpcClient, start: int = 1) -> dict:
"""Returns only non-private notices, doesn't require authentication."""
rpc_resp = client.make_request(
f"<get_notices_public><seqno>{start}</seqno></get_notices_public>"
Expand Down

0 comments on commit a1049c2

Please sign in to comment.