Skip to content

Commit

Permalink
Fix merge list key error
Browse files Browse the repository at this point in the history
  • Loading branch information
kiliczsh committed Jul 6, 2023
1 parent 526d6a6 commit 60d3e72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gokyuzu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ def merge_unique_lists(self, first_list, second_list):
for item in first_list:
merged_list[item["handle"]] = item
for item in second_list:
if item["handle"] not in merged_list:
if item["handle"] not in merged_list.keys():
merged_list[item["handle"]] = item
return merged_list

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[tool.poetry]
name = "gokyuzu"
version = "2.0.5"
version = "2.0.6"
description = "bsky.social client library"
authors = ["Muhammed Kılıç <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='gokyuzu',
version='2.0.5',
version='2.0.6',
description='bsky.social client library',
long_description=open('README.md', 'r', encoding='utf-8').read(),
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 60d3e72

Please sign in to comment.