From ad2fbdb9ddfea38b1751ef8291af94f4e4b7fc8d Mon Sep 17 00:00:00 2001 From: Simone Margaritelli <evilsocket@gmail.com> Date: Sun, 13 Oct 2019 17:54:33 +0200 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- pwnagotchi/defaults.yml | 2 +- pwnagotchi/mesh/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pwnagotchi/defaults.yml b/pwnagotchi/defaults.yml index 65bb5c6..621a4c3 100644 --- a/pwnagotchi/defaults.yml +++ b/pwnagotchi/defaults.yml @@ -173,7 +173,7 @@ ui: color: 'black' video: enabled: true - address: '10.0.0.2' + address: '0.0.0.0' port: 8080 diff --git a/pwnagotchi/mesh/utils.py b/pwnagotchi/mesh/utils.py index 6d17f4e..fb7f523 100644 --- a/pwnagotchi/mesh/utils.py +++ b/pwnagotchi/mesh/utils.py @@ -87,6 +87,6 @@ class AsyncAdvertiser(object): self._peers[ident].update(peer) except Exception as e: - logging.error("error while polling pwngrid-peer: %s" % e) + logging.exception("error while polling pwngrid-peer") time.sleep(1)