Private
Public Access
1
0

removing old power calc

This commit is contained in:
Sander Roosendaal
2020-01-02 20:31:07 +01:00
parent 0f7bad3124
commit 9e55cb496c
3 changed files with 11 additions and 17 deletions

View File

@@ -1516,19 +1516,11 @@ def handle_otwsetpower(self,f1, boattype, weightvalue,
else:
debug = False
if 'quick_calc' in kwargs:
usetable = kwargs['quick_calc']
else:
usetable = False
if 'go_service' in kwargs:
goservice = kwargs['go_service']
else:
goservice = False
kwargs['jobid'] = job_id
weightvalue = float(weightvalue)
# check what the real file name is
@@ -1569,6 +1561,8 @@ def handle_otwsetpower(self,f1, boattype, weightvalue,
progressurl += "/rowers/record-progress/"
progressurl += job_id+'/'
goservice = True
if goservice:
# do something (this should return from go service)
with grpc.insecure_channel(