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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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