diff options
| author | Bobby <[email protected]> | 2023-06-11 18:01:59 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2023-06-11 18:01:59 -0400 |
| commit | 7895a711a691de367fc251d5eccc94ccc45164fb (patch) | |
| tree | aa2105b7986e21281e2ce08eb6319c97978c4ed6 | |
| parent | e8d456d75ad5f3b74fba1d087f73a41ba4f87773 (diff) | |
| download | thatcomputerscientist-7895a711a691de367fc251d5eccc94ccc45164fb.tar.xz thatcomputerscientist-7895a711a691de367fc251d5eccc94ccc45164fb.zip | |
Fix online user number
| -rw-r--r-- | middleware/uuidmiddleware.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/uuidmiddleware.py b/middleware/uuidmiddleware.py index 5bef5506..87152808 100644 --- a/middleware/uuidmiddleware.py +++ b/middleware/uuidmiddleware.py @@ -54,7 +54,7 @@ def userTrackingContextProcessor(request): an = len(anonymous_users) if user_uuid is not None: - an = min(an - 1, 1) + an = max(an - 1, 1) return { 'anonymous_users': an, |
