bug fixes
This commit is contained in:
@@ -2178,7 +2178,7 @@ def read_cols_df_sql(ids, columns, convertnewtons=True):
|
||||
try:
|
||||
df = pd.read_parquet(f,columns=columns)
|
||||
data.append(df)
|
||||
except OSError:
|
||||
except (OSError,IndexError):
|
||||
rowdata,row = getrowdata(id=id)
|
||||
if rowdata and len(rowdata.df):
|
||||
datadf = dataprep(rowdata.df,id=id,bands=True,otwpower=True,barchart=True)
|
||||
|
||||
@@ -3134,7 +3134,7 @@ def virtualevent_entry_edit_view(request,id=0,entryid=0):
|
||||
records = resultobj.objects.filter(
|
||||
userid = r.id,
|
||||
race=race
|
||||
)
|
||||
).exclude(id=entryid)
|
||||
|
||||
try:
|
||||
record = resultobj.objects.get(id=entryid)
|
||||
|
||||
Reference in New Issue
Block a user