Skip to content

Commit

Permalink
[Draw Fancy Stackup][Changed] Avoid warning for the default
Browse files Browse the repository at this point in the history
  • Loading branch information
set-soft committed Oct 22, 2024
1 parent 8a33a65 commit 28e223a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kibot/pre_draw_fancy_stackup.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,8 @@ def are_layers_symmetric(top1, bottom1, top2, bottom2):
unique_vias[via_key] = via

if not len(unique_vias):
logger.warning(W_NOVIAS+'No vias detected, disabling the `draw_vias` option')
if ops.get_user_defined('draw_vias'):
logger.warning(W_NOVIAS+'No vias detected, disabling the `draw_vias` option')
ops.draw_vias = False

# Add remaining unpaired vias as lists of single elements
Expand Down

0 comments on commit 28e223a

Please sign in to comment.