Rafficer / linux-cli-community

Linux command-line client for ProtonVPN. Written in Python.
https://protonvpn.com
GNU General Public License v3.0
1.31k stars 198 forks source link

In "change_file_owner," use python library instead of shelling out to the OS. #277

Open cousinitt opened 3 years ago

cousinitt commented 3 years ago

Rather than using "subprocess" to check the ownership, use the built-in library calls. Makes it a little shorter, and I changed some of the variable names to (hopefully) make them a bit more clear.