commit
0d1011f65b
@ -6,8 +6,6 @@ from ctypes import c_void_p, cdll
|
||||
import inspect
|
||||
import os
|
||||
|
||||
lib = None
|
||||
|
||||
|
||||
class OcfLib:
|
||||
__lib__ = None
|
||||
|
@ -114,7 +114,7 @@ class Size:
|
||||
|
||||
@property
|
||||
def sectors(self):
|
||||
return self.bytes // _SECTOR_SIZE
|
||||
return self.bytes // self._SECTOR_SIZE
|
||||
|
||||
def __str__(self):
|
||||
if self.bytes < self._KiB:
|
||||
|
Loading…
Reference in New Issue
Block a user