Fixed pcb title block load (text var expansions)

This commit is contained in:
Salvador E. Tropea 2022-03-13 15:58:47 -03:00
parent dd210162b7
commit 0413699607
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ class GS(object):
GS.pcb_rev = ''
GS.pcb_comp = ''
# This is based on InterativeHtmlBom expansion
title_block = GS.expand_text_variables(GS.board.GetTitleBlock())
title_block = GS.board.GetTitleBlock()
GS.pcb_date = GS.format_date(GS.expand_text_variables(title_block.GetDate()), GS.pcb_file, 'PCB')
GS.pcb_title = GS.expand_text_variables(title_block.GetTitle())
if not GS.pcb_title: