summaryrefslogtreecommitdiff
path: root/mydisks.py
diff options
context:
space:
mode:
Diffstat (limited to 'mydisks.py')
-rw-r--r--mydisks.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/mydisks.py b/mydisks.py
index 4ca21bf..4a79c81 100644
--- a/mydisks.py
+++ b/mydisks.py
@@ -74,8 +74,9 @@ class MyDisks():
def is_readable(self,disk_no,offset,size):
- import random
- return random.randint(0,100) > 1 # FIXME : implement this (parse ddrescue log files)
+ return True
+ #import random
+ #return random.randint(0,100) > 1 # FIXME : implement this (parse ddrescue log files)
def read(self,disk_no,offset,size):
self.disks[disk_no].seek(offset)