reinit
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
# coding=utf-8
|
||||
import logging
|
||||
import random
|
||||
|
||||
@@ -22,4 +21,4 @@ def rand_str(length=32, type="lower_hex"):
|
||||
elif type == "lower_hex":
|
||||
return random.choice("123456789abcdef") + get_random_string(length - 1, allowed_chars="0123456789abcdef")
|
||||
else:
|
||||
return random.choice("123456789") + get_random_string(length - 1, allowed_chars="0123456789")
|
||||
return random.choice("123456789") + get_random_string(length - 1, allowed_chars="0123456789")
|
||||
|
||||
Reference in New Issue
Block a user