mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
Fixed file name find and replace issue
This commit is contained in:
@@ -188,7 +188,7 @@ class Initialize:
|
||||
raw ='''.{app_name}.'''
|
||||
original = raw.format(app_name="ESCU".lower()) #
|
||||
updated = raw.format(app_name=self.app_name.lower())
|
||||
filename_root = os.path.join(self.path,f"dist/{self.app_name.lower()}/default/default/data/ui/views/")
|
||||
filename_root = os.path.join(self.path,f"dist/{self.app_name}/default/default/data/ui/views/")
|
||||
for fname in ["escu_summary.xml"]:
|
||||
full_path = os.path.join(filename_root, fname)
|
||||
self.simple_replace_line(full_path, original, updated)
|
||||
|
||||
Reference in New Issue
Block a user