Fix identation

This commit is contained in:
jimmy 2022-07-23 02:07:20 +12:00
parent 3d14ba3dd6
commit 56d4b8c371
1 changed files with 8 additions and 8 deletions

View File

@ -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")