removed unnecessary lock acquire

This commit is contained in:
epi052
2020-01-22 06:21:44 -06:00
parent 210801b47f
commit 03c71fdd4d

View File

@@ -84,10 +84,7 @@ class ReconShell(cmd2.Cmd):
output = output.decode().strip() output = output.decode().strip()
if self.terminal_lock.acquire(blocking=True): self.async_alert(style(f"[!] {output}", fg="bright_red"))
self.async_alert(style(f"[!] {output}", fg="bright_red"))
self.terminal_lock.release()
def _luigi_pretty_printer(self, stderr): def _luigi_pretty_printer(self, stderr):
""" Helper to clean up the VERY verbose luigi log messages that are normally spewed to the terminal. """ """ Helper to clean up the VERY verbose luigi log messages that are normally spewed to the terminal. """