From d2b22b2ff3790aa5bc281a43cdb8f04dafbc9011 Mon Sep 17 00:00:00 2001 From: scifijunkie Date: Fri, 30 Dec 2022 23:25:43 -0600 Subject: [PATCH] Fix pwnagotchi crash when updating hostname #1121 -Incorporated changes from llamasoft/pwnagotchi on Github --- pwnagotchi/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/__init__.py b/pwnagotchi/__init__.py index 1714d7bc3..ca37a1eb8 100644 --- a/pwnagotchi/__init__.py +++ b/pwnagotchi/__init__.py @@ -41,7 +41,7 @@ def set_name(new_name): fp.write(patched) os.system("hostname '%s'" % new_name) - pwnagotchi.reboot() + reboot() def name():