mirror of
https://github.com/pfloos/quack
synced 2024-12-22 20:35:36 +01:00
user env on github machines
This commit is contained in:
parent
3e5e88d521
commit
fe01afdbdf
@ -20,7 +20,8 @@ current_date = datetime.now()
|
|||||||
quack_root = os.getenv('QUACK_ROOT')
|
quack_root = os.getenv('QUACK_ROOT')
|
||||||
|
|
||||||
# User Name
|
# User Name
|
||||||
user_name = os.getlogin()
|
# Fallback to 'default_user' if USER is not set
|
||||||
|
user_name = os.getenv('USER', 'default_user')
|
||||||
|
|
||||||
# Operating System
|
# Operating System
|
||||||
os_name = platform.system()
|
os_name = platform.system()
|
||||||
|
Loading…
Reference in New Issue
Block a user