Create the directory containing the skip_file if needed.
This commit is contained in:
parent
1a0e0ad717
commit
879a7294b9
|
@ -161,6 +161,7 @@ class Context:
|
|||
|
||||
def _finalise(self):
|
||||
if self.autoskip_file is not None:
|
||||
os.makedirs(os.path.dirname(self.autoskip_file), exist_ok=True)
|
||||
with open(self.autoskip_file, 'w'):
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in New Issue