Merge pull request #31 from Akasch/fix_screen_clear

streamer.screen: fix undefined variable icao on emty flight list
This commit is contained in:
Junzi Sun
2018-11-26 21:33:47 +01:00
committed by GitHub

View File

@@ -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: