We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6768aad + 67f51b2 commit b077e36Copy full SHA for b077e36
1 file changed
mopidy_iris/system.py
@@ -25,7 +25,7 @@ def __init__(self, path):
25
26
27
class IrisSystemThread(Thread):
28
- _USE_SUDO = os.environ.get("IRIS_USE_SUDO", True)
+ _USE_SUDO = str(os.environ.get("IRIS_USE_SUDO", True)).lower() == "true"
29
30
def __init__(self, action, ioloop, callback):
31
Thread.__init__(self)
0 commit comments