Skip to content

Commit

Permalink
Merge pull request #907 from daredoes/sudo-env-var
Browse files Browse the repository at this point in the history
Get use sudo from env var
  • Loading branch information
jaedb authored Aug 12, 2023
2 parents 06c33e3 + 0dff3d9 commit 1051c8e
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 1051c8e

Please sign in to comment.