Skip to content
Snippets Groups Projects
Commit 7e6804eb authored by Bryan Brancotte's avatar Bryan Brancotte
Browse files

filename can contains space

parent 05306969
No related branches found
No related tags found
1 merge request!7Return non zero code on failure
Pipeline #13256 failed with stage
in 41 seconds
......@@ -80,7 +80,7 @@ class RO_Crate:
current_directory = os.getcwd()
os.chdir("/".join(self.workflow.nextflow_file.get_file_address().split("/")[:-1]))
try:
os.system(f"git log {'--reverse'*reverse} {file} > temp_{id(self)}.txt")
os.system(f"git log {'--reverse'*reverse} \"{file}\" > temp_{id(self)}.txt")
with open(f'temp_{id(self)}.txt') as f:
info = f.read()
os.system(f"rm temp_{id(self)}.txt")
......
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