Skip to content

Commit f0c8eda

Browse files
authored
Merge pull request #19 from CleoQc/master
Doing a chmod here could lead to endless loops if permissions are wrong
2 parents 3425c07 + 40237f6 commit f0c8eda

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

I2C_mutex.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ def acquire(self):
2929
while not acquired:
3030
try:
3131
self.DexterLockI2C_handle = open(self.DexterLockI2C_handle_filename, 'w')
32-
os.chmod(self.DexterLockI2C_handle_filename, 0o777)
3332
# lock
3433
fcntl.lockf(self.DexterLockI2C_handle, fcntl.LOCK_EX | fcntl.LOCK_NB)
3534
acquired = True

0 commit comments

Comments
 (0)