Skip to content

Commit

Permalink
Fix dmx post data payload conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
ylabonte committed Aug 19, 2024
1 parent 0cfb6ea commit f7f3000
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,12 @@ output), there is a really simple way to support me:

## Release Notes

### v1.4.2 (2024-08-20)
### v1.4.3 (2024-08-20)
* Fix new `async_get_raw_dmx()` and `async_get_dmx()` methods.
* Fix new `GetDmxData.post_data` property.
* Update dependencies.

### v1.4.2 (skipped)

### v1.4.1 (2024-08-18)
* Update dependencies
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 = "hatchling.build"

[project]
name = "proconip"
version = "1.4.2"
version = "1.4.3"
authors = [
{ name="Yannic Labonte", email="[email protected]" },
]
Expand Down
2 changes: 1 addition & 1 deletion src/proconip/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ async def async_set_dmx(
return await async_post_usrcfg_cgi(
client_session=client_session,
config=config,
payload="&".join(dmx_states.post_data),
payload="&".join(f"{k}={v}" for k, v in dmx_states.post_data),
)


Expand Down
2 changes: 1 addition & 1 deletion src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"yarl>=1.9",
]

setup(name="proconip", version="1.4.2", packages=find_packages())
setup(name="proconip", version="1.4.3", packages=find_packages())

0 comments on commit f7f3000

Please sign in to comment.