misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli
2019-10-23 19:32:24 +02:00
parent d20f6c8a52
commit 68d7686a03
4 changed files with 23 additions and 19 deletions

View File

@ -66,9 +66,9 @@ class AsyncAdvertiser(object):
def _adv_poller(self):
while True:
logging.debug("polling pwngrid-peer for peers ...")
try:
logging.debug("polling pwngrid-peer for peers ...")
grid_peers = grid.peers()
new_peers = {}