From dc599e0e61a231550b446277f7669696cc140139 Mon Sep 17 00:00:00 2001 From: nick Date: Sat, 26 Nov 2022 00:19:40 -0500 Subject: [PATCH] reads from file --- toota-palooza/cli.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/toota-palooza/cli.py b/toota-palooza/cli.py index b0408ad..7f4e5f0 100644 --- a/toota-palooza/cli.py +++ b/toota-palooza/cli.py @@ -118,19 +118,19 @@ def once(tooter: Tooter): # message = check_public_timeline(tooter) message = f'{tooter.name} says hi!' print( - # random sentence + # random sentence... random.choice( - # from a random line + # from a random line... random.choice( - # from a random file + # from a random file... random.choice( list(tooter.files.values()) ) ) - # stripped and split on full stops + # stripped and split on full stops... .strip().split('.') ) - # stripped of weird punctuation + # and of weird punctuation .strip() ) return 0