Skip to content

Commit

Permalink
Merge pull request #172 from adafruit/len_fix
Browse files Browse the repository at this point in the history
subtracted 2 from counter
  • Loading branch information
ladyada authored Jun 26, 2020
2 parents b025932 + 078bbe0 commit e5c9808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adabot/arduino_libraries.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def is_arduino_library(repo):
def print_list_output(title, coll):
""
output_handler()
output_handler(title.format(len(coll)))
output_handler(title.format(len(coll)-2))
long_col = [(max([len(str(row[i])) for row in coll]) + 3)
for i in range(len(coll[0]))]
row_format = "".join(["{:<" + str(this_col) + "}" for this_col in long_col])
Expand Down

0 comments on commit e5c9808

Please sign in to comment.