aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/ParentalControl.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/ParentalControl.py')
-rw-r--r--lib/python/Components/ParentalControl.py4
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