Make methods static

This commit is contained in:
JoeLametta
2019-01-17 09:34:30 +00:00
parent af90c1c338
commit 16b0d8dc29
8 changed files with 31 additions and 14 deletions

View File

@@ -200,7 +200,8 @@ CD in the AccurateRip database."""
os.unlink(path)
return "%08x" % v1, "%08x" % v2
def _foundOffset(self, device, offset):
@staticmethod
def _foundOffset(device, offset):
print('\nRead offset of device is: %d.' % offset)
info = drive.getDeviceInfo(device)