diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-02-05 21:40:12 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-02-05 21:40:12 +0000 |
| commit | 9131c8c5c9f2b137a0fc766e7497e0e5ccbddd38 (patch) | |
| tree | 4464c6152bc9e49c3f7f5cd3e22e772021fec9cc /lib/python/Components | |
| parent | dd5eb76b9fe3fdc9e31e405176c0de47c310adb3 (diff) | |
| download | enigma2-9131c8c5c9f2b137a0fc766e7497e0e5ccbddd38.tar.gz enigma2-9131c8c5c9f2b137a0fc766e7497e0e5ccbddd38.zip | |
convert parental black/whitelist to uppercase on file read
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/ParentalControl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/ParentalControl.py b/lib/python/Components/ParentalControl.py index 057537e1..c3238804 100644 --- a/lib/python/Components/ParentalControl.py +++ b/lib/python/Components/ParentalControl.py @@ -153,7 +153,7 @@ class ParentalControl: file = open(resolveFilename(SCOPE_CONFIG, "whitelist"), 'r') lines = file.readlines() for x in lines: - self.whitelist.append(x.strip()) + self.whitelist.append(x.strip().upper()) file.close except: pass @@ -170,7 +170,7 @@ class ParentalControl: file = open(resolveFilename(SCOPE_CONFIG, "blacklist"), 'r') lines = file.readlines() for x in lines: - self.blacklist.append(x.strip()) + self.blacklist.append(x.strip().upper()) file.close except: pass |
