summaryrefslogtreecommitdiff
path: root/src/caelestia/subcommands/record.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/caelestia/subcommands/record.py')
-rw-r--r--src/caelestia/subcommands/record.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/caelestia/subcommands/record.py b/src/caelestia/subcommands/record.py
index 77147d2..e287f7b 100644
--- a/src/caelestia/subcommands/record.py
+++ b/src/caelestia/subcommands/record.py
@@ -60,6 +60,7 @@ class Command:
# Move to recordings folder
new_path = recordings_dir / f"recording_{datetime.now().strftime('%Y%m%d_%H-%M-%S')}.mp4"
+ recordings_dir.mkdir(exist_ok=True, parents=True)
recording_path.rename(new_path)
# Close start notification