projects
/
kiosk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Changes.
[kiosk.git]
/
grab_bag.py
diff --git
a/grab_bag.py
b/grab_bag.py
index b1da60c1d84909ab12d436b761f4b25e6e9df69e..10272da7acb37a64f4a281377af677a5f7b1807e 100644
(file)
--- a/
grab_bag.py
+++ b/
grab_bag.py
@@
-26,7
+26,7
@@
class grab_bag(object):
def subset(self, count: int) -> Optional[List[str]]:
if len(self.contents) < count:
return None
- return random.sample(
self.contents
, count)
+ return random.sample(
list(self.contents)
, count)
def size(self) -> int:
return len(self.contents)