Skip to content

Commit

Permalink
Ignore typing warning (stdout should always exist)
Browse files Browse the repository at this point in the history
If stdout doesn't exist (is None) then the the files wouldn't even be
received.
  • Loading branch information
deeplow committed Aug 22, 2023
1 parent 378ec1c commit c56c7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dangerzone/isolation_provider/qubes.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def _convert(
self.print_progress_trusted(document, False, text, percentage)

# Ensure nothing else is read after all bitmaps are obtained
p.stdout.close()
p.stdout.close() # typing: ignore [union-attr]

# TODO handle leftover code input
text = "Converted document to pixels"
Expand Down

0 comments on commit c56c7dd

Please sign in to comment.