follow-up 0ae04a6419
This commit is contained in:
parent
0ae04a6419
commit
43c037cc10
|
@ -1,4 +1,5 @@
|
||||||
# Release 2.6.4 (bugfixes)
|
# Release 2.6.4 (bugfixes)
|
||||||
|
* fix coinchooser bug (#1703)
|
||||||
* fix daemon JSONRPC (#1731)
|
* fix daemon JSONRPC (#1731)
|
||||||
* fix command-line broadcast (#1728)
|
* fix command-line broadcast (#1728)
|
||||||
* QT: add colors to labels
|
* QT: add colors to labels
|
||||||
|
|
|
@ -60,7 +60,7 @@ class PRNG:
|
||||||
return start + (r % n)
|
return start + (r % n)
|
||||||
|
|
||||||
def choice(self, seq):
|
def choice(self, seq):
|
||||||
return seq[self.randint(0, seq)]
|
return seq[self.randint(0, len(seq))]
|
||||||
|
|
||||||
def shuffle(self, x):
|
def shuffle(self, x):
|
||||||
for i in reversed(xrange(1, len(x))):
|
for i in reversed(xrange(1, len(x))):
|
||||||
|
|
Loading…
Reference in New Issue