merging fix for #3699

This commit is contained in:
Ken Conley 2012-01-12 19:46:39 +00:00
parent 3af481281a
commit c0f736b61a
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,8 @@ def author_name():
# in case pwnam is not set
if not name:
name = login
elif type(name) == str:
name = name.decode('utf-8')
except:
#pwd failed
pass