aboutsummaryrefslogtreecommitdiff
path: root/middleware
diff options
context:
space:
mode:
authorBobby <[email protected]>2023-06-16 21:22:31 -0400
committerBobby <[email protected]>2023-06-16 21:22:31 -0400
commitbd4f1f5cbaa1926fc8908c4d0c9b98d5998e2405 (patch)
tree939674035e5759bc47127bde7e3f1aa0ca10db4f /middleware
parentde9cc531c6f3bb69a3aec46e633d8fd2f057d508 (diff)
downloadthatcomputerscientist-bd4f1f5cbaa1926fc8908c4d0c9b98d5998e2405.tar.xz
thatcomputerscientist-bd4f1f5cbaa1926fc8908c4d0c9b98d5998e2405.zip
Ingoring RSS in Middleware
Diffstat (limited to 'middleware')
-rw-r--r--middleware/uuidmiddleware.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/uuidmiddleware.py b/middleware/uuidmiddleware.py
index ec8cd765..a6dd1ca3 100644
--- a/middleware/uuidmiddleware.py
+++ b/middleware/uuidmiddleware.py
@@ -22,7 +22,7 @@ class UserUUIDMiddleware:
def userTrackingContextProcessor(request):
# ignore /rss/ path
- if request.path.includes('/rss/'):
+ if '/rss/' in request.path:
return {
'anonymous_users': 0,
'logged_in_users': 0,