уточнение в журнале
parent
bd646784cb
commit
ad26862286
|
@ -169,7 +169,7 @@ class TorrentFile(object):
|
||||||
return self.filePtr
|
return self.filePtr
|
||||||
def log(self, message):
|
def log(self, message):
|
||||||
fnum = self.tfs.openedFiles.index(self)
|
fnum = self.tfs.openedFiles.index(self)
|
||||||
logging.info("[%d] %s\n" % (fnum, message))
|
logging.info("[Thread No.%d] %s\n" % (fnum, message))
|
||||||
def Pieces(self):
|
def Pieces(self):
|
||||||
startPiece, _ = self.pieceFromOffset(1)
|
startPiece, _ = self.pieceFromOffset(1)
|
||||||
endPiece, _ = self.pieceFromOffset(self.size - 1)
|
endPiece, _ = self.pieceFromOffset(self.size - 1)
|
||||||
|
|
Loading…
Reference in New Issue