fix(process): fix the stupid number sign
This commit is contained in:
@@ -69,7 +69,7 @@ class Builder:
|
|||||||
target=self.config["operator"]["target_folder"].format(name=operator_name),
|
target=self.config["operator"]["target_folder"].format(name=operator_name),
|
||||||
common_name=self.config["operators"][operator_name]["_operator_settings.js"]["filename"],
|
common_name=self.config["operators"][operator_name]["_operator_settings.js"]["filename"],
|
||||||
fallback_name=self.config["operators"][operator_name]["index.html"]["fallback_name"],
|
fallback_name=self.config["operators"][operator_name]["index.html"]["fallback_name"],
|
||||||
id_name=self.config["operators"][operator_name]["index.html"]["id"]
|
id_name=self.config["operators"][operator_name]["index.html"]["id"].replace("%23", "#")
|
||||||
)
|
)
|
||||||
|
|
||||||
operator_file = pathlib.Path.cwd().joinpath(file_paths["target"], "..", "{}_assets.js".format(file_paths["id_name"]))
|
operator_file = pathlib.Path.cwd().joinpath(file_paths["target"], "..", "{}_assets.js".format(file_paths["id_name"]))
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ class Initializer:
|
|||||||
copy_map = [
|
copy_map = [
|
||||||
dict(
|
dict(
|
||||||
source_name="operator_settings.js",
|
source_name="operator_settings.js",
|
||||||
target_name="{}_settings.js".format(self.config["operators"][self.operator_name]["index.html"]["id"]),
|
target_name="{}_settings.js".format(self.config["operators"][self.operator_name]["index.html"]["id"].replace("%23", "#")),
|
||||||
source_path=operator_settings_path,
|
source_path=operator_settings_path,
|
||||||
target_path=dir_map["config"],
|
target_path=dir_map["config"],
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user