small bug fixes
This commit is contained in:
@@ -16,6 +16,7 @@ from pandas import DataFrame,Series
|
|||||||
|
|
||||||
import shutil
|
import shutil
|
||||||
from shutil import copyfile
|
from shutil import copyfile
|
||||||
|
import pyarrow as pa
|
||||||
|
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
import numpy as np
|
import numpy as np
|
||||||
@@ -729,7 +730,7 @@ def getsmallrowdata_db(columns,ids=[],debug=False):
|
|||||||
data.append(df)
|
data.append(df)
|
||||||
except OSError:
|
except OSError:
|
||||||
pass
|
pass
|
||||||
except pyarrow.lib.ArrowInvalid:
|
except pa.lib.ArrowInvalid:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -194,6 +194,8 @@ def handle_strava_sync(stravatoken,workoutid,filename,name,activity_type,descrip
|
|||||||
failed = True
|
failed = True
|
||||||
except JSONDecodeError:
|
except JSONDecodeError:
|
||||||
failed = True
|
failed = True
|
||||||
|
except stravalib.exc.ObjectNotFound:
|
||||||
|
failed = true
|
||||||
if not failed:
|
if not failed:
|
||||||
try:
|
try:
|
||||||
act = client.update_activity(res.id,activity_type=activity_type,
|
act = client.update_activity(res.id,activity_type=activity_type,
|
||||||
|
|||||||
Reference in New Issue
Block a user