diff --git a/config.py b/config.py index e0b4074..e0f9bd6 100644 --- a/config.py +++ b/config.py @@ -7,6 +7,7 @@ """ import os +import getpass from socket import getfqdn from fnames import FileNames @@ -14,7 +15,7 @@ # Determine which user is running the scripts on which machine and set the path # where the data is stored and how many CPU cores to use. -user = os.getlogin() # Username of the user running the scripts +user = getpass.getuser() # Username of the user running the scripts host = getfqdn() # Hostname of the machine running the scripts # You want to add your machine to this list