From fef382cbb4b522cdf120638ad3c5eefc4860ba19 Mon Sep 17 00:00:00 2001 From: Pecusx Date: Thu, 9 Mar 2017 22:33:42 +0100 Subject: [PATCH] Old, tiny but frustrating bug The first press OK after the restart did not work well. --- radio_class.py | 1 + 1 file changed, 1 insertion(+) diff --git a/radio_class.py b/radio_class.py index 6538dfb..cf97b0f 100755 --- a/radio_class.py +++ b/radio_class.py @@ -251,6 +251,7 @@ class Radio: self.current_pandora_id = self.getStoredID(self.current_file) self.current_file = CurrentStationFile self.current_id = self.getStoredID(self.current_file) + self.search_index = self.current_id - 1 return # Call back routine for the IR remote