Merge pull request #31 from Akasch/fix_screen_clear
streamer.screen: fix undefined variable icao on emty flight list
This commit is contained in:
commit
3502fedf02
@ -101,6 +101,7 @@ class Screen(Thread):
|
||||
icaos = np.sort(icaos)
|
||||
|
||||
for row in range(3, self.scr_h - 3):
|
||||
icao = None
|
||||
idx = row + self.offset
|
||||
|
||||
if idx > len(icaos) - 1:
|
||||
|
Loading…
Reference in New Issue
Block a user