Corrected int vs. str in debug log output for fileSize and actualFileSize.
This commit is contained in:
parent
cd0b378276
commit
b8ae248bcf
@ -1387,7 +1387,7 @@ class NRSC5_DUI(object):
|
|||||||
else:
|
else:
|
||||||
actualFileSize = os.path.getsize(os.path.join(aasDir,fileName))
|
actualFileSize = os.path.getsize(os.path.join(aasDir,fileName))
|
||||||
if (fileSize != actualFileSize):
|
if (fileSize != actualFileSize):
|
||||||
self.debugLog("Corrupt file: " + fileName + " (expected: "+fileSize+" bytes, got "+actualFileSize+" bytes)")
|
self.debugLog("Corrupt file: " + fileName + " (expected: "+str(fileSize)+" bytes, got "+str(actualFileSize)+" bytes)")
|
||||||
|
|
||||||
if (coverStream > -1):
|
if (coverStream > -1):
|
||||||
if coverStream == self.streamNum:
|
if coverStream == self.streamNum:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user