pull/1/head
inpos 2016-03-29 17:57:14 +03:00
parent e23e447a1b
commit a65987feea
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ class TorrentFile(object):
def SetPriority(self, priority):
self.tfs.setPriority(self.index, priority)
def readOffset(self):
return self.filePtr.seek(0, io.SEEK_CUR)
return self.filePtr.seek(0, os.SEEK_CUR)
def havePiece(self, piece):
return self.tfs.handle.have_piece(piece)
def pieceFromOffset(self, offset):