Skip to content

Commit ba9548b

Browse files
committed
Fixed issue removing trustworthiness files
1 parent 2bf2b0d commit ba9548b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nebula/scenarios.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ def remove_files_by_scenario(cls, scenario_name):
10421042

10431043
@classmethod
10441044
def remove_trustworthiness_files(cls, scenario_name):
1045-
trustworthiness_files_path = f'{os.environ.get("NEBULA_LOGS_DIR")}/{scenario_name}/trustworthiness'
1045+
trustworthiness_files_path = os.path.normpath(os.path.join(os.environ.get("NEBULA_LOGS_DIR"), scenario_name, "trustworthiness"))
10461046
try:
10471047
shutil.rmtree(trustworthiness_files_path)
10481048
except PermissionError:

0 commit comments

Comments
 (0)