Skip to content

Commit

Permalink
remove redundant assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
mjlodge committed Feb 8, 2018
1 parent d2c227c commit dc6ecea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion util/loadtester/scripts/predict_rest_locust.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ def on_start(self):

def sendFeedback(self,response):
route = json.dumps(response["meta"]["routing"], sort_keys=True)
rewardProba = 0.5
if not route in self.routeRewards:
if len(self.routesSeen) < len(self.rewardProbas):
self.routesSeen.append(route)
Expand Down

0 comments on commit dc6ecea

Please sign in to comment.