unchained list coercion as it removed the randomization

pull/4420/head
Brian Coca 2014-10-08 11:54:22 -04:00
parent 12016b95a8
commit b592d7653d
1 changed files with 2 additions and 1 deletions

View File

@ -237,7 +237,8 @@ def rand(environment, end, start=None, step=None):
def randomize_list(mylist):
try:
shuffle(list(mylist))
mylist = list(mylist)
shuffle(mylist)
except:
pass
return mylist