@ -1,9 +1,9 @@
|
|||||||
"""Tool configuration."""
|
"""Tool configuration."""
|
||||||
|
|
||||||
import os
|
from getpass import getuser
|
||||||
|
|
||||||
# current user
|
# current user
|
||||||
WHOAMI = os.getlogin()
|
WHOAMI = getuser()
|
||||||
|
|
||||||
# home directory of the current user
|
# home directory of the current user
|
||||||
HOME_DIR = "/home/{}".format(WHOAMI)
|
HOME_DIR = "/home/{}".format(WHOAMI)
|
||||||
|
Reference in New Issue
Block a user