Skip to content

Commit 7b80d4e

Browse files
authored
Update create-envfile.py (#13056)
1 parent 17b3925 commit 7b80d4e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

create-envfile.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,7 @@ def shuffle(chars):
4242
random.shuffle(chars_as_list)
4343
return "".join(chars_as_list)
4444

45-
46-
_simple_chars = shuffle(string.ascii_letters + string.digits)
47-
_strong_chars = shuffle(
48-
string.ascii_letters + string.digits + string.punctuation.replace('"', "").replace("'", "").replace("`", "")
49-
)
50-
45+
_strong_chars = shuffle(string.ascii_letters + string.digits + "#%*._~")
5146

5247
def generate_env_file(args):
5348
# validity checks

0 commit comments

Comments
 (0)