Skip to content

Commit

Permalink
release 0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Pdzly committed Dec 17, 2023
1 parent 43667df commit 2eba596
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions lemmylib/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,6 @@ def call_api(self, method: LemmyApiMethod, endpoint: str, params: dict = None, h
if isinstance(value, bool):
params[key] = str(value).lower()

if data is None:
data = {}
else:
for key, value in data.copy().items():
if value is None:
data.pop(key)
if isinstance(value, bool):
data[key] = str(value).lower()

if self._url is None:
raise Exception("LemmyLib: URL not set")

Expand Down
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 = "lemmylib"
version = "0.0.3"
version = "0.0.4"
description = ""
authors = ["Rooki <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 2eba596

Please sign in to comment.