Skip to content

fix(enable_deauth): remove dead code and fix log prefix#29

Open
CoderFX wants to merge 2 commits intoSniffleupagus:mainfrom
CoderFX:fix/enable-deauth-dead-code
Open

fix(enable_deauth): remove dead code and fix log prefix#29
CoderFX wants to merge 2 commits intoSniffleupagus:mainfrom
CoderFX:fix/enable-deauth-dead-code

Conversation

@CoderFX
Copy link
Copy Markdown

@CoderFX CoderFX commented Mar 12, 2026

Summary

  • Remove unused self._current_aps list (never read anywhere)
  • Remove stale TODO comment about web UI (never implemented)
  • Fix inconsistent log prefix: [EnableDeauth][Enable_Deauth]
  • Remove unused Touch_Screen import
  • Remove unnecessary try/except in on_ui_update

Builds on #26. Related to #24.

CoderFX added 2 commits March 12, 2026 14:17
- Replace bare `except Exception` with `except ImportError` for Touch_UI import
- Replace deprecated `logging.warn()` with `logging.warning()`
- Add consistent [Enable_Deauth] prefix to all log messages
- Remove trailing semicolons
- Use logging.warning for errors instead of logging.info
- Bump version to 1.0.1
- Remove unused self._current_aps list (never read anywhere)
- Remove stale TODO comment about web UI (never implemented)
- Fix inconsistent log prefix: [EnableDeauth] -> [Enable_Deauth]
- Remove unused Touch_Screen import
- Remove unnecessary try/except in on_ui_update
- Bump version to 1.0.2
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.

1 participant