tr3buchet/twiceredis

Sentinel list should be coerced to list prior to shuffle.

jkoelker opened this issue · 0 comments

Naïve developers may pass in a tuple to the TwiceRedis.__init__. This will cause the random.shuffle to fail. The input (irelephant of type) should be coerced to a list to ensure that the random.shuffle will work.