unchained list coercion as it removed the randomization
This commit is contained in:
parent
12016b95a8
commit
b592d7653d
1 changed files with 2 additions and 1 deletions
|
@ -237,7 +237,8 @@ def rand(environment, end, start=None, step=None):
|
||||||
|
|
||||||
def randomize_list(mylist):
|
def randomize_list(mylist):
|
||||||
try:
|
try:
|
||||||
shuffle(list(mylist))
|
mylist = list(mylist)
|
||||||
|
shuffle(mylist)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
return mylist
|
return mylist
|
||||||
|
|
Loading…
Reference in a new issue