Skip to content

Commit

Permalink
fix using wrong encoding on Windows (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
na-trium-144 authored Nov 5, 2024
1 parent bf9e666 commit d86e24b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion extrakto.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self, *, min_length=None, alt=False, prefix_name=False):
os.path.expanduser("~/.config"), "extrakto/extrakto.conf"
)

conf.read([default_conf, user_conf])
conf.read([default_conf, user_conf], encoding="utf-8")
sections = conf.sections()

if not "path" in sections or not "url" in sections:
Expand Down
1 change: 1 addition & 0 deletions extrakto_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ def capture_panes(self):
self.trigger_pane,
],
universal_newlines=True,
encoding="utf-8",
)
return captured

Expand Down

0 comments on commit d86e24b

Please sign in to comment.