Old PIN request if you set it for the first time after flashing the new CVS image.

  • Hi,
    I'm a dream-elite developer and I've found a small problem on screen "ParentalControlSetup.py" after your recent modify on component "config.py".


    Since now the default PIN is "0000" instead of "aaaa" and is an integer, you should change the class "ParentalControlChangePin" otherwise when you want to set the PIN for the first time, it asks for the old PIN ?!?!


    This is the code to change on class "ParentalControlChangePin" on screen "ParentalControlSetup.py":

    Code
    def isProtected(self):
    	return (self.pin.value != "aaaa")


    I've fixed it in this way:

    Code
    def isProtected(self):
    	return (self.pin.value != 0)


    This is my first post here, happy new year :winking_face: