Skip to content

Commit

Permalink
Need to fix loading window that pops up & causes code to stop, waitin…
Browse files Browse the repository at this point in the history
…g for events
  • Loading branch information
waffledood committed Nov 20, 2020
1 parent e576a4a commit 582fd72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cerberus_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ def gui():
# The Event Loop
while True:
event, values = window.read()
print(event, values)

if event == sg.WIN_CLOSED or event == 'Exit':
break

print(event, values)

# GUI Window for Progress
layout_progress = [[sg.Text('Automated Cerberus Check completed!')]]
Expand Down

0 comments on commit 582fd72

Please sign in to comment.