small bug fixes
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user