mirror of
https://github.com/thewesker/RASCSI.git
synced 2025-12-20 04:11:07 -05:00
Fixed multiple images attached not working
Forgot to remove testing code that caused multiple image displays to break.
This commit is contained in:
@@ -148,7 +148,7 @@ while True:
|
|||||||
if (len(line) == 0) or line.startswith("+---") or line.startswith("| ID | UN"):
|
if (len(line) == 0) or line.startswith("+---") or line.startswith("| ID | UN"):
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
if line.startswith("| 0"):
|
if line.startswith("| "):
|
||||||
fields = line.split('|')
|
fields = line.split('|')
|
||||||
output = str.strip(fields[1]) + " " + str.strip(fields[3]) + " " + os.path.basename(str.strip(fields[4]))
|
output = str.strip(fields[1]) + " " + str.strip(fields[3]) + " " + os.path.basename(str.strip(fields[4]))
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user