summaryrefslogtreecommitdiff
path: root/live.py
diff options
context:
space:
mode:
Diffstat (limited to 'live.py')
-rw-r--r--live.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/live.py b/live.py
index e9051d8..0d6cbab 100644
--- a/live.py
+++ b/live.py
@@ -137,6 +137,9 @@ def process_live_input(opt, data_opt, rpc_client):
data_opt.processing = False
rpc_client.send_status('processing', False)
+ if data_opt.tag != data_opt.final_tag && len(data_opt.final_tag):
+ tag = data_opt.final_tag.lower().replace(' ', '_').replace('__', '_')
+ os.rename(opt.render_dir, opt.results_dir + "/" + tag + "/")
if __name__ == '__main__':
listener = Listener(opt, data_opt, data_opt_parser, process_live_input)