replace backslashes with regular slashes
This commit is contained in:
parent
8a2caf120d
commit
1c9f3eccef
@ -229,6 +229,8 @@ class EventParser(FileParser):
|
|||||||
pass
|
pass
|
||||||
if self.obsw_root_path is not None:
|
if self.obsw_root_path is not None:
|
||||||
file_name = os.path.relpath(file_name, self.obsw_root_path)
|
file_name = os.path.relpath(file_name, self.obsw_root_path)
|
||||||
|
# Replace backslashes with regular slashes
|
||||||
|
file_name.replace("\\", "/")
|
||||||
self.mib_table.update(
|
self.mib_table.update(
|
||||||
{full_id: (string_to_add, severity, description, file_name)}
|
{full_id: (string_to_add, severity, description, file_name)}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user