diff options
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/faqwiz/faqwiz.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/faqwiz/faqwiz.py b/Tools/faqwiz/faqwiz.py index f604fd2..318b642 100644 --- a/Tools/faqwiz/faqwiz.py +++ b/Tools/faqwiz/faqwiz.py @@ -572,12 +572,12 @@ class FaqWizard: emit(TAIL_RECENT) def do_roulette(self): - import whrandom + import random files = self.dir.list() if not files: self.error("No entries.") return - file = whrandom.choice(files) + file = random.choice(files) self.prologue(T_ROULETTE) emit(ROULETTE) self.dir.show(file) |