Skip to content

Commit

Permalink
Update huntsman.py
Browse files Browse the repository at this point in the history
Fix tests maybe round 2
  • Loading branch information
danjampro authored Jun 7, 2021
1 parent 9e2ebab commit 87a1290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/huntsman/pocs/utils/huntsman.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def create_huntsman_scheduler(observer=None, logger=None, *args, **kwargs):
SunAvoidance()]

# add global observe each target once constraint
if get_config('constraints.observe_once', default=False):
if get_config('scheduler.constraints.observe_once', default=False):
constraints.insert(0, AlreadyVisited())

# Create the Scheduler instance
Expand Down

0 comments on commit 87a1290

Please sign in to comment.