Skip to content

Commit 774d47c

Browse files
committed
O_SYNC and O_NONBLOCKING removed
1 parent 8eb1dee commit 774d47c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

share/kwipe/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def run(self):
357357
limit = int(self.size / _MEGABYTE) * _MEGABYTE
358358
rest = int(self.size - limit)
359359

360-
fd = os.open(self.device, os.O_RDWR|os.O_DIRECT|os.O_SYNC|os.O_NONBLOCK)
360+
fd = os.open(self.device, os.O_RDWR|os.O_DIRECT)
361361

362362
# Set current position like seek()
363363
os.lseek(fd, self.position, os.SEEK_SET)

0 commit comments

Comments
 (0)