From 6a4ca6f1d2f8fe61a7e5f712831513425c616306 Mon Sep 17 00:00:00 2001 From: landonb Date: Tue, 24 Mar 2020 23:53:10 -0500 Subject: [PATCH] Bugfix: Ensure ASCIINEMA_REC set on record (#372). --- asciinema/recorder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asciinema/recorder.py b/asciinema/recorder.py index 37811af..5c51319 100644 --- a/asciinema/recorder.py +++ b/asciinema/recorder.py @@ -15,7 +15,7 @@ def record(path, command=None, append=False, idle_time_limit=None, if command_env is None: command_env = os.environ.copy() - command_env['ASCIINEMA_REC'] = '1' + command_env['ASCIINEMA_REC'] = '1' if capture_env is None: capture_env = ['SHELL', 'TERM']