From 21995c62fbd91df7a0a3165c996138f97a33661d Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Fri, 24 Nov 2023 15:41:34 +0100 Subject: [PATCH] No need to save raw anymore --- vrobbler/apps/scrobbles/scrobblers.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/vrobbler/apps/scrobbles/scrobblers.py b/vrobbler/apps/scrobbles/scrobblers.py index 9f9760d..4b120ff 100644 --- a/vrobbler/apps/scrobbles/scrobblers.py +++ b/vrobbler/apps/scrobbles/scrobblers.py @@ -253,14 +253,6 @@ def gpslogger_scrobble_location( # Save the data coming in if not user_id: user_id = 1 # TODO fix authing the end point to get user - raw_location = RawGeoLocation.objects.create( - user_id=user_id, - lat=data_dict.get("lat"), - lon=data_dict.get("lon"), - altitude=data_dict.get("alt"), - speed=data_dict.get("spd"), - timestamp=pendulum.parse(data_dict.get("time", timezone.now())), - ) location = GeoLocation.find_or_create(data_dict)