Stop consuming first element of list (#2058)

This commit is contained in:
James Maslek
2022-07-07 15:34:59 -04:00
committed by GitHub
parent d1e97c7ac4
commit 311bdef099

View File

@@ -434,9 +434,6 @@ def terminal(jobs_cmds: List[str] = None, appName: str = "gst"):
print_goodbye()
break
if obbff.ENABLE_EXIT_AUTO_HELP and len(t_controller.queue) > 1:
t_controller.queue = t_controller.queue[1:]
# Consume 1 element from the queue
an_input = t_controller.queue[0]
t_controller.queue = t_controller.queue[1:]