Skip to content

Conversation

@llamasoft
Copy link

Fixes #1096 (closed by the person who opened it but it was never actually fixed)

Description

The pwnagotchi process crashes when calling pwnagotchi.reboot because pwnagotchi was never imported. Importing it is actually unnecessary as the reboot function is defined in the same source file.

Motivation and Context

  • I have raised an issue to propose this change (required)

How Has This Been Tested?

Manually made this code change on my pwnagotchi and updated the hostname a few times.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s

scifijunk added a commit to scifijunk/pwnagotchi that referenced this pull request Dec 31, 2022
-Incorporated changes from llamasoft/pwnagotchi on Github
Copy link

@AndrewBraunEE AndrewBraunEE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] NameError: name 'pwnagotchi' is not defined

2 participants