diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2009-05-28 00:06:04 +0200 |
|---|---|---|
| committer | Fraxinas <andreas.frisch@multimedia-labs.de> | 2009-05-28 00:06:04 +0200 |
| commit | d9d920a7153ec2fa36ad5d85632b7be3effa6a96 (patch) | |
| tree | a959313126427d47a7a5156e4a54c54fff3d749a /skin.py | |
| parent | 3f71f581949b23c013b07a266e9aae0edd102a53 (diff) | |
| download | enigma2-d9d920a7153ec2fa36ad5d85632b7be3effa6a96.tar.gz enigma2-d9d920a7153ec2fa36ad5d85632b7be3effa6a96.zip | |
avoid evil eval
Diffstat (limited to 'skin.py')
| -rw-r--r-- | skin.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -316,7 +316,7 @@ def loadSingleSkinData(desktop, skin, path_prefix): else: shadowColor = gRGB(0) shadowOffset = parsePosition(get_attr("shadowOffset"), scale) - face = eval("eSubtitleWidget.%s" % get_attr("name")) + face = eSubtitleWidget.__dict__[get_attr("name")] eSubtitleWidget.setFontStyle(face, font, haveColor, foregroundColor, shadowColor, shadowOffset) for windowstyle in skin.findall("windowstyle"): |
