wrapper: move at_exit handling into wrap()

This commit is contained in:
InsanePrawn 2023-04-16 05:22:17 +02:00
parent 6961cb7f36
commit cd1d0543fe
2 changed files with 6 additions and 8 deletions

View file

@ -23,6 +23,7 @@ class DockerWrapper(Wrapper):
type: str = 'docker'
def wrap(self):
super().wrap()
script_path = config.runtime.script_source_dir
assert script_path
with open(os.path.join(script_path, 'version.txt')) as version_file: