unchained list coercion as it removed the randomization

This commit is contained in:
Brian Coca 2014-10-08 11:54:22 -04:00
parent 12016b95a8
commit b592d7653d

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