Skip to content
This repository was archived by the owner on Mar 31, 2020. It is now read-only.

Commit 5a4289b

Browse files
committed
Missed a few indentations
1 parent 89f3867 commit 5a4289b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/mainwindow.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,17 +228,20 @@ def new_image(self, cat=None):
228228
# make a button to allow the user to pass through the image
229229
# Note: since everyone likes scary monsters, only make a Like button
230230
tk.Button(
231-
self.frame, text="Like", background="green", command=self.new_image
231+
self.frame, text="Like", background="green",
232+
command=self.new_image
232233
).pack(side=tk.BOTTOM)
233234

234235
# image was not a jumpscare, don't do jumpscare things
235236
else:
236237
# setting up like and dislike buttons on opposite sides of the screen
237238
tk.Button(
238-
self.frame, text="Like", background="green", command=self.new_image
239+
self.frame, text="Like", background="green",
240+
command=self.new_image
239241
).pack(side=tk.RIGHT)
240242
tk.Button(
241-
self.frame, text="Dislike", background="red", command=self.new_image
243+
self.frame, text="Dislike", background="red",
244+
command=self.new_image
242245
).pack(side=tk.LEFT)
243246

244247
# defining button functions

0 commit comments

Comments
 (0)