From 56d4b8c371222310cd360b66bf6acaab295d9424 Mon Sep 17 00:00:00 2001 From: jimmy Date: Sat, 23 Jul 2022 02:07:20 +1200 Subject: [PATCH] Fix identation --- printer/printer.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/printer/printer.py b/printer/printer.py index c693191..b27e78e 100755 --- a/printer/printer.py +++ b/printer/printer.py @@ -19,16 +19,16 @@ def on_connect(client, userdata, flags, rc): def on_message(client, userdata, msg): print("Print") with open("printer/locations.txt") as locations: - lines = locations.read().splitlines() - location = random.choice(lines) + lines = locations.read().splitlines() + location = random.choice(lines) -with open("printer/actions.txt") as actions: - lines = actions.read().splitlines() - action = random.choice(lines) + with open("printer/actions.txt") as actions: + lines = actions.read().splitlines() + action = random.choice(lines) -with open("printer/adverbs.txt") as adverb: - lines = adverb.read().splitlines() - adverb = random.choice(lines) + with open("printer/adverbs.txt") as adverb: + lines = adverb.read().splitlines() + adverb = random.choice(lines) if random.randint(0,1): im=Image.open("printer/image.jpg")