From 054981ce11138fba59fec1fe69ee8e974585ece0 Mon Sep 17 00:00:00 2001 From: hanhxiao Date: Tue, 16 Jul 2019 20:11:03 +0800 Subject: [PATCH] fix(composer): fix gnes board naming --- gnes/composer/base.py | 2 +- gnes/resources/static/{gnes-graph.html => gnes-board.html} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename gnes/resources/static/{gnes-graph.html => gnes-board.html} (99%) diff --git a/gnes/composer/base.py b/gnes/composer/base.py index cc6c46e5..ce8d4c41 100644 --- a/gnes/composer/base.py +++ b/gnes/composer/base.py @@ -275,7 +275,7 @@ def build_mermaid(all_layers: List['YamlGraph.Layer'], show_topdown: bool = True @staticmethod def build_html(generate_dict: Dict[str, str]) -> str: - r = pkg_resources.resource_stream('gnes', '/'.join(('resources', 'static', 'gnes-graph.html'))) + r = pkg_resources.resource_stream('gnes', '/'.join(('resources', 'static', 'gnes-board.html'))) with r: html = r.read().decode() for k, v in generate_dict.items(): diff --git a/gnes/resources/static/gnes-graph.html b/gnes/resources/static/gnes-board.html similarity index 99% rename from gnes/resources/static/gnes-graph.html rename to gnes/resources/static/gnes-board.html index b2697b30..6b70e635 100644 --- a/gnes/resources/static/gnes-graph.html +++ b/gnes/resources/static/gnes-board.html @@ -146,7 +146,7 @@