diff --git a/pilot/utils/arguments.py b/pilot/utils/arguments.py index 8590373..79a66b9 100644 --- a/pilot/utils/arguments.py +++ b/pilot/utils/arguments.py @@ -1,3 +1,4 @@ +import getpass import sys import uuid @@ -36,7 +37,7 @@ def get_arguments(): arguments['app_id'] = str(uuid.uuid4()) if 'user_id' not in arguments: - arguments['user_id'] = str(uuid.uuid4()) + arguments['user_id'] = getpass.getuser() if 'email' not in arguments: # todo change email so its not uuid4 but make sure to fix storing of development steps where