Get use sudo from env var

This commit is contained in:
Daniel Evans
2023-06-01 18:09:46 -07:00
parent 5ef872a5d3
commit 0dff3d9813

View File

@ -25,7 +25,7 @@ class IrisSystemPermissionError(IrisSystemError):
class IrisSystemThread(Thread):
_USE_SUDO = True
_USE_SUDO = os.environ.get("IRIS_USE_SUDO", True)
def __init__(self, action, ioloop, callback):
Thread.__init__(self)