removing old power calc
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user