diff options
Diffstat (limited to 'src/caelestia/subcommands')
| -rw-r--r-- | src/caelestia/subcommands/record.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/caelestia/subcommands/record.py b/src/caelestia/subcommands/record.py index dd0a5d0..77147d2 100644 --- a/src/caelestia/subcommands/record.py +++ b/src/caelestia/subcommands/record.py @@ -39,6 +39,7 @@ class Command: else: raise ValueError("No audio source found") + recording_path.parent.mkdir(parents=True, exist_ok=True) proc = subprocess.Popen( ["wl-screenrec", *args, "--codec", "hevc", "-f", recording_path], stderr=subprocess.PIPE, |