fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Overdue fix.
[wolnelektury.git]
/
src
/
experiments
/
experiments.py
diff --git
a/src/experiments/experiments.py
b/src/experiments/experiments.py
index
ca0a5a5
..
63c74c6
100644
(file)
--- a/
src/experiments/experiments.py
+++ b/
src/experiments/experiments.py
@@
-13,7
+13,7
@@
class NewLayout(Experiment):
if re.search(
'iphone|mobile|androidtouch',
- request.META
['HTTP_USER_AGENT']
,
+ request.META
.get('HTTP_USER_AGENT', '')
,
re.IGNORECASE):
return False