mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Fix error due to randint inclusivity
This commit is contained in:
parent
a776d0ba59
commit
3a5e609a11
@ -251,7 +251,7 @@ def gen_utf_char():
|
||||
is_char = False
|
||||
b = 'b'
|
||||
while not is_char:
|
||||
b = random.randint(32, 0x110000)
|
||||
b = random.randint(32, 0x10ffff)
|
||||
is_char = chr(b).isprintable()
|
||||
return chr(b)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user