Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix default user (os.getlogin -> getpass.getuser)
This is a more reliable way to get the current username. For example, os.getlogin did not work locally on my Linux Mint machine. See https://docs.python.org/3/library/getpass.html#getpass.getuser which says 'In general, this function should be preferred over os.getlogin().'
- Loading branch information