Skip to content

Commit

Permalink
πŸ› using noservice.conf in the planner sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
vokimon committed Jun 13, 2024
1 parent a8bc06f commit d67f5c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tomatic/plannerexecution.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ def createSandbox(self):
config.forcedTimeTable = 'forced-turns.yaml'
(self.path/'forced-turns.yaml').symlink_to(forcedTurnsFile.resolve())

noservice_file = self.configPath/'data'/'noservice.conf'
if noservice_file.exists():
(self.path/'data').mkdir()
(self.path/'data'/'noservice.conf').symlink_to(noservice_file.resolve())

config.dump(self.path/'config.yaml')

def listInfo(self):
Expand Down

0 comments on commit d67f5c8

Please sign in to comment.