Skip to content

Commit a150473

Browse files
committed
Move html, css and shittyscript files to web directory
1 parent e6a32b5 commit a150473

File tree

7 files changed

+2
-1
lines changed

7 files changed

+2
-1
lines changed

InteractiveHtmlBom/generate_interactive_bom.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,8 @@ def open_file(filename):
510510

511511
def generate_file(pcb_file_dir, pcbdata, config):
512512
def get_file_content(file_name):
513-
with open(os.path.join(os.path.dirname(__file__), file_name), "r") as f:
513+
path = os.path.join(os.path.dirname(__file__), "web", file_name)
514+
with open(path, "r") as f:
514515
return f.read()
515516

516517
loginfo("Dumping pcb json data")

0 commit comments

Comments
 (0)