Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminals are allowed to be specified with "path" type, remove check. #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions FritzingTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -4065,17 +4065,6 @@ def ProcessSvgLeafNode(FzpType, FileType, InFile, CurView, PrefixDir, Elem, Erro

if Term != None:

# This looks to be a terminal definition so check it is a valid type.

if Tag in ['path', 'g']:

# Note one of the illegal terminalId types is present.

Errors.append('Error 77: File\n\'{0:s}\'\nAt line {1:s}\n\nterminalId {2:s} can\'t be a {3:s} as it won\'t work.\n'.format(
str(InFile), str(Elem.sourceline), str(Id), str(Tag)))

# End of if Tag in ['path']:

# Since this is a terminal, check for height or width of 0 and complain
# if so.

Expand Down