Skip to content

fix(enable_deauth): fix deprecation warnings and improve logging#26

Open
CoderFX wants to merge 1 commit intoSniffleupagus:mainfrom
CoderFX:fix/enable-deauth-cleanup
Open

fix(enable_deauth): fix deprecation warnings and improve logging#26
CoderFX wants to merge 1 commit intoSniffleupagus:mainfrom
CoderFX:fix/enable-deauth-cleanup

Conversation

@CoderFX
Copy link
Copy Markdown

@CoderFX CoderFX commented Mar 12, 2026

Summary

  • 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

Fixes #24

No feature changes — just bug fixes and logging improvements. All existing functionality (behave_list, touch support, home network detection) preserved.

- 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
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.

enable_deauth: deprecated logging.warn() and broad except clause

1 participant