Private
Public Access
1
0

small bug fixes

This commit is contained in:
Sander Roosendaal
2020-08-28 21:42:52 +02:00
parent 132e30e615
commit 620e451e01
2 changed files with 4 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ from pandas import DataFrame,Series
import shutil
from shutil import copyfile
import pyarrow as pa
import pandas as pd
import numpy as np
@@ -729,7 +730,7 @@ def getsmallrowdata_db(columns,ids=[],debug=False):
data.append(df)
except OSError:
pass
except pyarrow.lib.ArrowInvalid:
except pa.lib.ArrowInvalid:
pass
try:

View File

@@ -194,6 +194,8 @@ def handle_strava_sync(stravatoken,workoutid,filename,name,activity_type,descrip
failed = True
except JSONDecodeError:
failed = True
except stravalib.exc.ObjectNotFound:
failed = true
if not failed:
try:
act = client.update_activity(res.id,activity_type=activity_type,