summaryrefslogtreecommitdiff
blob: cb1ba1a8593ed9b1c0c85d07f2376e1ae1d845fb (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/WebappConfig/protect.py
+++ b/WebappConfig/protect.py
@@ -78,7 +78,7 @@
 
         numbers = []
         prefix  = self.protect_prefix
-        rep = re.compile(prefix.replace('.','\.') + '(\d{4})_')
+        rep = re.compile(prefix.replace('.',r'\.') + r'(\d{4})_')
 
         for i in entries:
             rem = rep.match(i)