Merge branch 'feature/user_id-from-getpass_getuser'

# Conflicts:
#	pilot/utils/arguments.py
This commit is contained in:
Nicholas Albion
2023-09-08 04:14:51 +10:00

View File

@@ -1,5 +1,6 @@
import os
import re
import getpass
import sys
import uuid
@@ -38,7 +39,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:
arguments['email'] = get_email()