File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -746,17 +746,15 @@ def build_config(sketch, boardSkipped):
746746 else :
747747 # get specific sketch options to append to the fqbn
748748 for pattern in sketch_options :
749- print
750- if pattern in sketch_options :
751- if re .search (pattern , str (sketch ), re .IGNORECASE ):
752- if build_conf_list [idx ][4 ][- 2 ].count (":" ) == 3 :
753- build_conf_list [idx ][4 ][- 2 ] += (
754- "," + sketch_options [pattern ]
755- )
756- else :
757- build_conf_list [idx ][4 ][- 2 ] += (
758- ":" + sketch_options [pattern ]
759- )
749+ if re .search (pattern , str (sketch ), re .IGNORECASE ):
750+ if build_conf_list [idx ][4 ][- 2 ].count (":" ) == 3 :
751+ build_conf_list [idx ][4 ][- 2 ] += (
752+ "," + sketch_options [pattern ]
753+ )
754+ else :
755+ build_conf_list [idx ][4 ][- 2 ] += (
756+ ":" + sketch_options [pattern ]
757+ )
760758 return build_conf_list
761759
762760
You can’t perform that action at this time.
0 commit comments