From f57cc83749348bedd1cf602bbe98d0d3d39b7487 Mon Sep 17 00:00:00 2001 From: emile Date: Sat, 3 Aug 2024 17:50:39 +0300 Subject: [PATCH] new; --- .../__pycache__/consumers.cpython-310.pyc | Bin 9919 -> 9930 bytes osinaweb/osichat/consumers.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/osinaweb/osichat/__pycache__/consumers.cpython-310.pyc b/osinaweb/osichat/__pycache__/consumers.cpython-310.pyc index 5c2392faa9c9dd647455c3ae57b99e686fa2fc20..632fb0c8e67017325c8719cdfba809118305a310 100644 GIT binary patch delta 51 zcmdn*d&-wLpO=@50SHz*uS@&Ak#`>pXB1y@PG)LeN&MuqEK;1e*pu^1^Gb>;H@{)I GtOx+SYZ9XX delta 61 zcmX@*yWf{LpO=@50SL78)}?*f$h(h4@fLe>eraAwQKcqxkvvf57FT9Ld}2yUQEG8< NkrGf~^LLiZiU3a16R!XO diff --git a/osinaweb/osichat/consumers.py b/osinaweb/osichat/consumers.py index 2381d4d4..0a418d31 100644 --- a/osinaweb/osichat/consumers.py +++ b/osinaweb/osichat/consumers.py @@ -35,7 +35,7 @@ class OsitcomVisitor(WebsocketConsumer): self.visitor = Visitor.objects.create( session_id = session_id, ip_address = text_data_json.get('client_ip'), - country = text_data_json.get('country'), + country = text_data_json.get('client_country'), ) self.current_log = VisitorLog.objects.create(