Skip to content

Commit

Permalink
fix/remove unsupported character (Chainlit#442)
Browse files Browse the repository at this point in the history
Co-authored-by: Clément Sirieix <[email protected]>
  • Loading branch information
clementsirieix and Clément Sirieix authored Oct 2, 2023
1 parent 7f1a40f commit 17d38a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/chainlit/secret.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import string

# Using punctuation, without chars that can break in the cli (quotes, backslash, backtick...)
chars = string.ascii_letters + string.digits + "$%*+,-./:<=>?@^_~"
chars = string.ascii_letters + string.digits + "$%*+,-./:=>?@^_~"


def random_secret(length: int = 64):
Expand Down

0 comments on commit 17d38a7

Please sign in to comment.