Skip to content

Commit ff478c5

Browse files
committed
fix a minor bug and bump version
1 parent 8c38f50 commit ff478c5

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

CHANGELOG.MD

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,9 @@ All notable changes to this project will be documented in this file.
6868
# v1.3.1 - 23/6/2023
6969

7070
### Fixed
71-
- Changed the param name of /search to `query` from `title` to match API change
71+
- Changed the param name of /search to `query` from `title` to match API change
72+
73+
# v1.3.2 - 24/7/23
74+
75+
### Fixed
76+
- Fixed dict key error in `CircularChecker` class.

pybpsapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def check(self) -> list[dict] or list[None]:
255255
return_dict.append(circular)
256256

257257
# sort the return_dict by circular id in ascending order
258-
return_dict.sort(key=lambda x: x['circular_id'])
258+
return_dict.sort(key=lambda x: x['id'])
259259
return return_dict
260260

261261
else:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pybpsapi"
3-
version = "1.3.1"
3+
version = "1.3.2"
44
description = "This package is a Python wrapper for the BPS API. It supports all the five endpoints of the API, and also contains a good circular-checking system."
55
author = "Raj Dave"
66
author-email = "rajdave8002@gmail.com"

0 commit comments

Comments
 (0)