enigma2 icon indicating copy to clipboard operation
enigma2 copied to clipboard

[Skin] global variables handling

Open jbleyel opened this issue 1 year ago • 0 comments

The access to variables should be replaced by a function like this:

Current:

from skin import parameters
parameters.get(..)

New:

from skin import getParameters
getParameters().get(..)

parameters is only one example.

Why do we need this? The import of these global variables will not work if the values will be changed.

jbleyel avatar Aug 22 '24 20:08 jbleyel