Fixed multiple images attached not working

Forgot to remove testing code that caused multiple image displays to break.
This commit is contained in:
thewesker
2020-10-16 17:49:00 -04:00
committed by GitHub
parent 0296fd581d
commit 0f1dabf2cc

View File

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