Skip to content

Commit

Permalink
Replace '-' with '_' in to_server_key. Increment version.
Browse files Browse the repository at this point in the history
  • Loading branch information
weswil07 committed Sep 7, 2023
1 parent 09900c8 commit 5f63156
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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"

[project]
name = "resigner"
version = "0.3.12"
version = "0.3.13"
authors = [
{name = "Media Predict"},
{email = "[email protected]"}
Expand Down
2 changes: 1 addition & 1 deletion resigner/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def add_prefix(key):


def to_server_key(key):
return f"HTTP_{key}"
return f"HTTP_{key}".replace("-", "_")


CLIENT_TIME_STAMP_KEY = add_prefix("TIME-STAMP")
Expand Down

0 comments on commit 5f63156

Please sign in to comment.