diff --git a/src/main.py b/src/main.py index c9b0cd9..75d99a4 100755 --- a/src/main.py +++ b/src/main.py @@ -184,7 +184,7 @@ class YandereBot(FediBot.YandereBot): # Invalid post (remove downloaded files) except (FileTooLarge, InvalidMimeType) as e: if picked: - os.remove(picked["full_path"]) + os.remove(picked["picked"]["full_path"]) print("Unable to post:", e) # Other Exceptions