Skip to content

Commit

Permalink
Correct character encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
quicklizard99 committed Aug 17, 2016
1 parent f139f95 commit b7a3b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inselect/lib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def user_name():
except pywintypes.error:
try:
# Returns MBCS
return unicode(win32api.GetUserName(), 'mcbs')
return unicode(win32api.GetUserName(), 'mbcs')
except pywintypes.error:
return ''

Expand Down

0 comments on commit b7a3b44

Please sign in to comment.