mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
[commons] refactoring: 'user' module moved to 'api'
This commit is contained in:
5
bauh/api/user.py
Normal file
5
bauh/api/user.py
Normal file
@@ -0,0 +1,5 @@
|
||||
import os
|
||||
|
||||
|
||||
def is_root():
|
||||
return os.getuid() == 0
|
||||
Reference in New Issue
Block a user