From db5549c8ebddae9600e104e2400b387e554da2e4 Mon Sep 17 00:00:00 2001 From: jasongrieves Date: Fri, 22 Sep 2023 20:37:52 -0700 Subject: [PATCH] string cleanup --- tadpole.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tadpole.py b/tadpole.py index 0299ae1..a38c3f5 100644 --- a/tadpole.py +++ b/tadpole.py @@ -309,13 +309,12 @@ def viewThumbnail(rom_path): if newLogoFileName is None or newLogoFileName == "": print("user cancelled image select") return - failedConversions = tadpole_functions.addThumbnail(rom_path, drive, system, newLogoFileName, True) - if failedConversions == 0: + if tadpole_functions.addThumbnail(rom_path, drive, system, newLogoFileName, True): QMessageBox.about(window, "Change ROM Logo", "ROM thumbnails successfully changed") RunFrogTool(window.combobox_console.currentText()) return True else: - QMessageBox.about(window, "Change ROM Cover", "Adding thumbnails completed, but " + str(failedConversions) + " failed to convert.") + QMessageBox.about(window, "Change ROM Cover", "Unable to convert thumbnail for ROM") RunFrogTool(window.combobox_console.currentText()) return False