From 0f1dabf2cc53a3da7081283095eb0c89a6a1fd01 Mon Sep 17 00:00:00 2001 From: thewesker Date: Fri, 16 Oct 2020 17:49:00 -0400 Subject: [PATCH] Fixed multiple images attached not working Forgot to remove testing code that caused multiple image displays to break. --- src/oled_monitor/rascsi_oled_monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oled_monitor/rascsi_oled_monitor.py b/src/oled_monitor/rascsi_oled_monitor.py index 64cfcf7..b2e3a63 100755 --- a/src/oled_monitor/rascsi_oled_monitor.py +++ b/src/oled_monitor/rascsi_oled_monitor.py @@ -148,7 +148,7 @@ while True: if (len(line) == 0) or line.startswith("+---") or line.startswith("| ID | UN"): continue else: - if line.startswith("| 0"): + if line.startswith("| "): fields = line.split('|') output = str.strip(fields[1]) + " " + str.strip(fields[3]) + " " + os.path.basename(str.strip(fields[4])) else: