Skip to content

Commit

Permalink
fix(update_check): set encoding to 'utf-8' for subprocess.run in Upda…
Browse files Browse the repository at this point in the history
…teWorker
  • Loading branch information
amnweb committed Nov 29, 2024
1 parent 47420f4 commit 3fcb8f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/widgets/yasb/update_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def run(self):
result = subprocess.run(
['winget', 'upgrade'],
capture_output=True,
encoding='utf-8',
text=True,
check=True,
shell=True,
Expand Down

0 comments on commit 3fcb8f4

Please sign in to comment.