wrapper: move at_exit handling into wrap()
This commit is contained in:
parent
6961cb7f36
commit
cd1d0543fe
2 changed files with 6 additions and 8 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue