Corrected int vs. str in debug log output for fileSize and actualFileSize.

This commit is contained in:
markjfine 2022-07-03 21:12:26 -04:00 committed by GitHub
parent cd0b378276
commit b8ae248bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1387,7 +1387,7 @@ class NRSC5_DUI(object):
else:
actualFileSize = os.path.getsize(os.path.join(aasDir,fileName))
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 == self.streamNum: