1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

GUI tweak: Fixed rounding

This commit is contained in:
Paweł Jastrzębski
2014-04-17 18:46:25 +02:00
parent 3fdff845b7
commit 181a2e8ab4

View File

@@ -540,7 +540,7 @@ class WorkerThread(QtCore.QThread):
MW.addTrayMessage.emit('KindleUnpack failed to clean MOBI file!', 'Critical')
else:
GUI.progress.content = ''
epubSize = (os.path.getsize(self.kindlegenErrorCode[2]))/1024/1024
epubSize = (os.path.getsize(self.kindlegenErrorCode[2]))//1024//1024
for item in outputPath:
if os.path.exists(item):
os.remove(item)