From 885f47efa087aae6a7808eab51a21e9162e2addf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Thu, 16 Sep 2021 18:33:33 +0200 Subject: [PATCH] ensure lecture directory exists --- scripts/lectures.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/lectures.py b/scripts/lectures.py index 1d051d0..71a737d 100755 --- a/scripts/lectures.py +++ b/scripts/lectures.py @@ -63,6 +63,7 @@ class Lectures(list): self.info = [] if 'path' in self.info: self.root = script.root / self.info['path'] + self.root.mkdir(parents=True, exist_ok=True) else: self.root = script.root list.__init__(self, self.read_files())