Skip to content
Snippets Groups Projects
Commit c51bddba authored by Luis Salamanca's avatar Luis Salamanca
Browse files

Error in utils

parent cec8fa90
No related branches found
No related tags found
No related merge requests found
...@@ -154,9 +154,9 @@ def compress_tar(infile, outname = ''): ...@@ -154,9 +154,9 @@ def compress_tar(infile, outname = ''):
year = infile.split('/')[-2] year = infile.split('/')[-2]
c1 = 'tar -xf ' + infile c1 = 'tar -xf ' + infile
call_with_out(c1) call_with_out(c1)
c2 = 'tar -czvf ' + outname + ' ./' + ${year} + '/' c2 = 'tar -czvf ' + outname + ' ./' + str(year) + '/'
call_with_out(c2) call_with_out(c2)
c3 = 'rm -rf ' + $year c3 = 'rm -rf ' + str(year)
call_with_out(c3) call_with_out(c3)
......
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