Private
Public Access
1
0

added messaging

This commit is contained in:
Sander Roosendaal
2017-10-26 18:25:13 +02:00
parent 7db7d04732
commit a6f1ad6b6d

View File

@@ -3080,6 +3080,9 @@ def otwrankings_view(request,theuser=0,
'Delta':delta,
'CP':cpvalue,
})
if powerdf.empty:
messages.info(request,'Your calculations are running in the background. Please reload this page.')
powerdf = powerdf[powerdf['CP']>0]
powerdf.dropna(axis=0,inplace=True)