Problem: I keep getting this error when I press the button to trigger Publish from 2nd time and on.
Error:
AttributeError: 'NoneType' has no attribute 'sendall'
The error is caused basically by every server.(any ftp host action)
I say this because the function the button called said:
server.cwd(blogfiledir)
Then I changed that line to the function to connect to the server (that initializes automatically) because I thought the error was caused because we asked the server to go to the directory it was already in, but later, the error said that was caused by:
server.storbinary blah blah blah
So I don't really know what is happening.