fix: ignore flash method when checking for firmware files

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
dw-0
2024-04-15 21:52:32 +02:00
parent 8de7ab7e11
commit cd63034b74
2 changed files with 9 additions and 10 deletions

View File

@@ -101,7 +101,7 @@ class KlipperFlashMethodMenu(BaseMenu):
self.goto_next_menu()
def goto_next_menu(self, **kwargs):
if find_firmware_file(self.flash_options.flash_method):
if find_firmware_file():
KlipperFlashCommandMenu(previous_menu=self.__class__).run()
else:
KlipperNoFirmwareErrorMenu().run()