Hi,
There is an issue in the file Standby.py
, located at /usr/lib/enigma2/python/Screens
, related to an incorrect variable name assignment. Specifically, the code contains the following line:
The correct variable name should be self.connected
, but a typo has caused it to be incorrectly written as conntected
(with an extra "t").
This results in the assignment of False
to a non-existent attribute, which prevents the expected behavior of the program and can lead to potential runtime errors. The intended functionality appears to involve updating the connected
state, which manages the connection to the event system, but due to the typo, this update does not occur as expected.
Impact:
- The error prevents the proper removal from events in the
TryQuitMainloop
class. - This can lead to memory leaks or unexpected behavior, as events remain subscribed even though they should be removed.
- It may cause issues in the system when performing shutdown or reboot operations.
To resolve this issue, the code should be updated as follows:
This change ensures that the correct connected attribute is being updated, allowing proper removal of events and restoring expected system behavior.
Best regards.