Commit 7071cb18 authored by Bogdan's avatar Bogdan

added normpath

parent 70bff442
......@@ -76,7 +76,7 @@ except:
os.chdir(REPORTS)
target = REPORTS
target = str(target) + f'\\.coverage'
target = os.path.normpath( str(target) + f'/.coverage' )
try:
os.remove(target) #Try to Remove old coverage file, if exists
except Exception as e:
......@@ -86,10 +86,10 @@ print("Combinging coverages")
counter = 0
for path in coverage_paths_set:
try:
path += '\\.coverage'
original = path
path += '/.coverage'
original = os.path.normpath( path )
target = REPORTS
target = str(target) + f'\\.coverage.{counter}'
target = os.path.normpath( str(target) + f'/.coverage.{counter}' )
counter += 1
shutil.copyfile(original,target) #copy new generated coverage files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment