Skip to content

Commit

Permalink
[#367] fix reveal file for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
quicklizard99 committed Oct 25, 2016
1 parent cc84318 commit 39084d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ This is an overview of major changes. Refer to the git repository for a full log

Version 0.1.35
-------------
- #367 Reveal file doesn't work on Windows
- #273 Inselect as a package
- #83 Architecture and code organisation

Expand Down
2 changes: 1 addition & 1 deletion inselect/lib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def user_name():
"""
if pwd:
# Strip trailing commas seen on Linux
return pwd.getpwuid(os.getuid()).pw_gecos.rstrip(',')
return unicode(pwd.getpwuid(os.getuid()), 'utf8').pw_gecos.rstrip(',')
else:
try:
import pywintypes
Expand Down

0 comments on commit 39084d5

Please sign in to comment.