[bugfix] os.getlogin not working on all OS/python versions

This commit is contained in:
Marcel Paffrath 2018-04-26 15:00:40 +02:00
parent 56295f0c81
commit b02a0e8f9a

View File

@ -454,7 +454,8 @@ def getLogin():
:return: login ID
:rtype: str
"""
return os.getlogin()
import getpass
return getpass.getuser()
def getOwner(fn):