Skip to content

Commit

Permalink
Fix typecheck errors
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Nov 1, 2021
1 parent 7523093 commit 07ac37b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ini2toml/drivers/full_toml.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _collapse_commented_list(obj: CommentedList, root=False) -> Array:
out.add_line(*[collapse(v) for v in values], comment=entry.comment)
else:
for value in values:
out.append(collapse(value))
cast(list, out).append(collapse(value))
if entry.has_comment():
cast(Item, out).comment(entry.comment)

Expand Down

0 comments on commit 07ac37b

Please sign in to comment.