From a07dbdb039d156adfc464d1f9036f793e8e93f4c Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Sat, 24 Mar 2018 19:09:26 +0100 Subject: [PATCH] Fix handling of unknown firmware version --- addon/lib/rmupdate.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addon/lib/rmupdate.tcl b/addon/lib/rmupdate.tcl index 4676a24..3b6b495 100644 --- a/addon/lib/rmupdate.tcl +++ b/addon/lib/rmupdate.tcl @@ -1037,9 +1037,9 @@ proc ::rmupdate::download_firmware {{download_url ""} {version ""}} { variable install_log if {$version == ""} { - set image_file "${img_dir}/RaspberryMatic-${version}.img" - } else { set image_file "${img_dir}/RaspberryMatic-unknown.img" + } else { + set image_file "${img_dir}/RaspberryMatic-${version}.img" } if {$download_url == ""} { foreach e [get_available_firmware_downloads] {