Skip to content

Commit

Permalink
Get use sudo from env var
Browse files Browse the repository at this point in the history
  • Loading branch information
daredoes committed Jun 2, 2023
1 parent 5ef872a commit 0dff3d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mopidy_iris/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, path):


class IrisSystemThread(Thread):
_USE_SUDO = True
_USE_SUDO = os.environ.get("IRIS_USE_SUDO", True)

def __init__(self, action, ioloop, callback):
Thread.__init__(self)
Expand Down

0 comments on commit 0dff3d9

Please sign in to comment.