simo 2.10.4__py3-none-any.whl → 2.10.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of simo might be problematic. Click here for more details.
- simo/users/__pycache__/api.cpython-312.pyc +0 -0
- simo/users/api.py +2 -3
- {simo-2.10.4.dist-info → simo-2.10.5.dist-info}/METADATA +1 -1
- {simo-2.10.4.dist-info → simo-2.10.5.dist-info}/RECORD +8 -8
- {simo-2.10.4.dist-info → simo-2.10.5.dist-info}/WHEEL +0 -0
- {simo-2.10.4.dist-info → simo-2.10.5.dist-info}/entry_points.txt +0 -0
- {simo-2.10.4.dist-info → simo-2.10.5.dist-info}/licenses/LICENSE.md +0 -0
- {simo-2.10.4.dist-info → simo-2.10.5.dist-info}/top_level.txt +0 -0
|
Binary file
|
simo/users/api.py
CHANGED
|
@@ -221,9 +221,8 @@ class UserDeviceReport(InstanceMixin, viewsets.GenericViewSet):
|
|
|
221
221
|
datetime__gt=log_datetime - datetime.timedelta(seconds=120),
|
|
222
222
|
at_home=False, location__isnull=False
|
|
223
223
|
).values('speed_kmh',):
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
no_of_points += 1
|
|
224
|
+
sum += speed['speed_kmh']
|
|
225
|
+
no_of_points += 1
|
|
227
226
|
if no_of_points > 2:
|
|
228
227
|
sum += speed_kmh
|
|
229
228
|
avg_speed_kmh = round(sum / (no_of_points + 1))
|
|
@@ -10754,7 +10754,7 @@ simo/notifications/migrations/__pycache__/__init__.cpython-312.pyc,sha256=YMFc4Q
|
|
|
10754
10754
|
simo/notifications/migrations/__pycache__/__init__.cpython-38.pyc,sha256=YMBRHVon2nWDtIUbghckjnC12sIg_ykPWhV5aM0tto4,178
|
|
10755
10755
|
simo/users/__init__.py,sha256=6a7uBpCWB_DR7p54rbHusc0xvi1qfT1ZCCQGb6TiBh8,52
|
|
10756
10756
|
simo/users/admin.py,sha256=2J_ZwrwAPw03Stb6msx5GvRpGCsDSC39RPpYBLGf8UY,7441
|
|
10757
|
-
simo/users/api.py,sha256=
|
|
10757
|
+
simo/users/api.py,sha256=7LXVAsCuheS4k8JtkORNXFGh6bb1jR4QPZknuS12nzw,15136
|
|
10758
10758
|
simo/users/apps.py,sha256=cq0A8-U1HALEwev0TicgFhr4CAu7Icz8rwq0HfOaL4E,207
|
|
10759
10759
|
simo/users/auth_backends.py,sha256=HxRp9iFvU1KqUhE7pA9YKEjqtBCJDbDqk_UMCD2Dwww,4361
|
|
10760
10760
|
simo/users/auto_urls.py,sha256=RSUW3ai5LbMTknS8M7M5aOnG_YlFOVQrnNVNH-fkwlg,357
|
|
@@ -10773,7 +10773,7 @@ simo/users/__pycache__/__init__.cpython-312.pyc,sha256=n0GE5zxjujBUkv1t1CswZ9Gby
|
|
|
10773
10773
|
simo/users/__pycache__/__init__.cpython-38.pyc,sha256=VFoDJE_SKKaPqqYaaBYd1Ndb1hjakkTo_u0EG_XJ1GM,211
|
|
10774
10774
|
simo/users/__pycache__/admin.cpython-312.pyc,sha256=lTVuZQwkuw1bzSn0A0kt-8H6ruKas_YPb_61AxSYSoo,11465
|
|
10775
10775
|
simo/users/__pycache__/admin.cpython-38.pyc,sha256=uL8TwAipkatZxanvQtBKKcOv8Fm3UvinBxsP0okrOZg,8443
|
|
10776
|
-
simo/users/__pycache__/api.cpython-312.pyc,sha256=
|
|
10776
|
+
simo/users/__pycache__/api.cpython-312.pyc,sha256=O7mRDdbpqakFJf37mROWy2xv-4bUzLW8FOUmzzE3Hcg,19469
|
|
10777
10777
|
simo/users/__pycache__/api.cpython-38.pyc,sha256=zZ4DfNktgeVvLAtMpaPUv7AoAgbKr7SCt-4ghJk1zp4,10386
|
|
10778
10778
|
simo/users/__pycache__/apps.cpython-312.pyc,sha256=6KefztC11cSg6VHJ7-sVDvOA-oq_jNMB8jMvmhcVZD4,707
|
|
10779
10779
|
simo/users/__pycache__/apps.cpython-38.pyc,sha256=dgbWL8CxzzISJQTmq_4IztPJ2UzykNVdqA2Ae1PmeGk,605
|
|
@@ -10945,9 +10945,9 @@ simo/users/templates/invitations/expired_msg.html,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
10945
10945
|
simo/users/templates/invitations/expired_suggestion.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10946
10946
|
simo/users/templates/invitations/taken_msg.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10947
10947
|
simo/users/templates/invitations/taken_suggestion.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10948
|
-
simo-2.10.
|
|
10949
|
-
simo-2.10.
|
|
10950
|
-
simo-2.10.
|
|
10951
|
-
simo-2.10.
|
|
10952
|
-
simo-2.10.
|
|
10953
|
-
simo-2.10.
|
|
10948
|
+
simo-2.10.5.dist-info/licenses/LICENSE.md,sha256=M7wm1EmMGDtwPRdg7kW4d00h1uAXjKOT3HFScYQMeiE,34916
|
|
10949
|
+
simo-2.10.5.dist-info/METADATA,sha256=eGpKTCxJeMVMZ-QvSJeJTqOhZTXJiUDfqse4Tvv4kFY,2028
|
|
10950
|
+
simo-2.10.5.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
10951
|
+
simo-2.10.5.dist-info/entry_points.txt,sha256=S9PwnUYmTSW7681GKDCxUbL0leRJIaRk6fDQIKgbZBA,135
|
|
10952
|
+
simo-2.10.5.dist-info/top_level.txt,sha256=GmS1hrAbpVqn9OWZh6UX82eIOdRLgYA82RG9fe8v4Rs,5
|
|
10953
|
+
simo-2.10.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|