Skip to content

Commit

Permalink
Update aikido_firewall/background_process/aikido_background_process.py
Browse files Browse the repository at this point in the history
  • Loading branch information
willem-delbare authored Jul 30, 2024
1 parent b212ef0 commit 2e2f63d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self, address, key):
conn = listener.accept()
logger.debug("connection accepted from %s", listener.last_accepted)
while True:
data = conn.recv()
data = conn.recv() # because of this no sleep needed in thread
logger.debug("Incoming data : %s", data)
if data[0] == "ATTACK":
self.queue.put(data[1])
Expand Down

0 comments on commit 2e2f63d

Please sign in to comment.