Fixed code style issue (column width)

This commit is contained in:
Aqueminivan 2019-10-19 18:10:59 -04:00
parent 01f2fda214
commit 2b2afe899a

View File

@ -1108,7 +1108,10 @@ will be lost. Continue?"""))
if report:
report += "\n\n\n"
report += numberOfUnusedFilesLabel + " "
report += ngettext("file found in media folder not used by any cards:", "files found in media folder not used by any cards:", int(numberOfUnusedFilesLabel))
report += ngettext(
"file found in media folder not used by any cards:",
"files found in media folder not used by any cards:",
int(numberOfUnusedFilesLabel))
report += "\n" + "\n".join(unused)
if nohave:
if report:
@ -1161,12 +1164,16 @@ will be lost. Continue?"""))
if now - lastProgress >= 0.3:
numberOfRemainingFilesToBeDeleted = len(unused) - c
lastProgress = now
label = ngettext("%d file remaining...", "%d files remaining...", numberOfRemainingFilesToBeDeleted) % numberOfRemainingFilesToBeDeleted
label = ngettext("%d file remaining...",
"%d files remaining...",
numberOfRemainingFilesToBeDeleted) % numberOfRemainingFilesToBeDeleted
self.progress.update(label)
finally:
self.progress.finish()
numberOfFilesDeleted = c + 1
tooltip(ngettext("Deleted %d file.", "Deleted %d files.", numberOfFilesDeleted) % numberOfFilesDeleted)
tooltip(ngettext("Deleted %d file.",
"Deleted %d files.",
numberOfFilesDeleted) % numberOfFilesDeleted)
diag.close()
def onStudyDeck(self):