Dec 24, 2017 02:59 PM
(This post was last modified: Dec 27, 2017 11:10 AM by CleverUSB.)
I'm having some issues with my Twitter Bot. The bot works perfectly but I'm having the issues with the image part. It currently posts the same image every time the tweet is sent when it should be posting the new one that urllib2 got and saved into the image. I don't get any errors but I believe its because I didn't add image.close(). I tried adding image.close() but I keep getting "ValueError: I/O operation on closed file" where ever I put it in the code. I tried attaching the code on in the thread but Hack Forums firewall blocked it. Instead, I have attached Leet Files and Paste Bin links. Thanks ahead of time.
Paste Bin: here
Leet Files: here
Paste Bin: here
Leet Files: here



