mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2026-01-07 03:31:20 +01:00
Merge branch 'feature/user_id-from-getpass_getuser'
# Conflicts: # pilot/utils/arguments.py
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user