Minor change

This commit is contained in:
Anon 2023-03-19 19:29:43 -07:00
parent 1328845069
commit 59d80a6fc2

View File

@ -183,7 +183,7 @@ class YandereBot(FediBot.YandereBot):
# Invalid post (remove downloaded files)
except (FileTooLarge, InvalidMimeType) as e:
if picked is not None:
if picked:
os.remove(picked["full_path"])
print("Unable to post:", e)