fix current user method

This commit is contained in:
checktheroads 2020-02-15 16:16:03 -07:00
parent ed24ef73be
commit 6c1f9321f9

View file

@ -1,8 +1,8 @@
"""CLI Command definitions."""
# Standard Library
import os
import sys
from getpass import getuser
from pathlib import Path
# Third Party
@ -144,7 +144,7 @@ def setup(unattended):
move_files(example_dir, install_path, files)
if install_path == user_path:
user = os.getlogin()
user = getuser()
else:
user = "root"