Skip to content
Snippets Groups Projects
Commit ff9126f2 authored by Chad Hanna's avatar Chad Hanna
Browse files

hoftcache: make temporary frame files have unique names

parent 0fe22627
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@
import os
import sys
import tempfile
import uuid
import gi
......@@ -172,7 +173,7 @@ def mkbasicsrc(pipeline, gw_data_source_info, instrument, verbose = False):
#
def build_pipeline(pipeline, data_source_info, output_path = tempfile.gettempdir(), sample_rate = None, description = "TMPFILE_DELETE_ME", channel_comment = None, frame_duration = 1, frames_per_file = 1024, verbose = False):
def build_pipeline(pipeline, data_source_info, output_path = tempfile.gettempdir(), sample_rate = None, description = "TMPFILE_DELETE_ME_%s" % uuid.uuid4().hex, channel_comment = None, frame_duration = 1, frames_per_file = 1024, verbose = False):
#
# get instrument and channel name (requires exactly one
# instrument+channel)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment