We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3425c07 commit 40237f6Copy full SHA for 40237f6
1 file changed
I2C_mutex.py
@@ -29,7 +29,6 @@ def acquire(self):
29
while not acquired:
30
try:
31
self.DexterLockI2C_handle = open(self.DexterLockI2C_handle_filename, 'w')
32
- os.chmod(self.DexterLockI2C_handle_filename, 0o777)
33
# lock
34
fcntl.lockf(self.DexterLockI2C_handle, fcntl.LOCK_EX | fcntl.LOCK_NB)
35
acquired = True
0 commit comments