уточнение в журнале

pull/1/head
inpos 2016-03-19 18:33:30 +03:00
parent bd646784cb
commit ad26862286
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ class TorrentFile(object):
return self.filePtr
def log(self, message):
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):
startPiece, _ = self.pieceFromOffset(1)
endPiece, _ = self.pieceFromOffset(self.size - 1)