adding rp3 sync to tests
This commit is contained in:
@@ -2857,9 +2857,15 @@ def handle_rp3_async_workout(userid,rp3token,rp3id,startdatetime,max_attempts,de
|
||||
|
||||
res = requests.get(download_url,headers=headers)
|
||||
|
||||
|
||||
if not startdatetime:
|
||||
startdatetime = str(timezone.now())
|
||||
|
||||
try:
|
||||
startdatetime = str(startdatetime)
|
||||
except:
|
||||
pass
|
||||
|
||||
if res.status_code != 200:
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user