13 Commits

Author SHA1 Message Date
alfrix
6510b2ec6b Refactor
Use f-strings
Avoid unnecessary casts to str()bool()int()
Ensure file closure
Merge nested ifs
Simplify for-assigns-appends with comprehensions and internal functions
Avoid shadowing internal function names
Initialize variables
Return value directly instead of assign then return
Make some methods static
2022-08-01 12:23:40 -03:00
alfrix
5a36729b76 PEP8, typos and warnings fixes 2022-05-31 11:14:42 -03:00
alfrix
562e49b8d2 logging: exceptions can log more info 2022-05-31 11:14:42 -03:00
alfrix
82c8d62876 screen: move the wifi-manager to the network panel
moving the manager should increase startup times
only load it when the user wants to manage networks

network: add ip at the top (fixes #422)
network: always reload the list of networks
wifi: fix network list getting blank
network: make the list more resilient to netinfo errors
2022-03-20 09:19:45 -03:00
alfrix
5899c8feab Optimize imports 2022-03-15 12:41:21 -03:00
Jordan
70d8315539 Update code style 2021-09-11 17:25:38 -04:00
Jordan
6e1f653762 wifi: Remove repetitive logging statements 2021-05-19 20:44:48 -04:00
jordanruthe
7e3b919c62
Wifi manager (#148)
Updates to include ability to change wifi networks.
2021-05-13 20:53:58 -04:00
Jordan Ruthe
f3001f3c76 wifi: Remove scanning log message 2021-02-26 10:59:13 -05:00
Jordan Ruthe
c0b4b464bd Changes to logging implementation 2021-02-21 12:19:30 -05:00
Jordan Ruthe
693c45e2d7 wifi: remove asyncio 2021-02-18 11:59:59 -05:00
Jordan Ruthe
79eefbd170 network: Show wifi information 2021-02-15 15:35:13 -05:00
Jordan Ruthe
c2dc0fdb46 wifi: Initial wifi class 2021-01-29 22:37:05 -05:00