will be timestamped (sidestepping the duplicate status feature)
will catch and log exceptions without stopping execution
will handle images/gifs correctly
Canned tweets are now specified in JSON format. Any media (images etc.) should be downloaded locally and a path relative to the tweets directory should be given in the path property of the JSON. You can have both a msg and a path.
Also introducing DEBUG MODE. Start the script with --debug or -d to enter debug mode, where the console will log debug messages and up, and tweets will not be sent off (they will be stored in a file in the timestamped log directory). Otherwise, the default console log level is INFO. I highly recommend using this for testing so we don't clog up our twitter account.
I also fixed some failing tests (not that anyone else would run them...).
Tweets:
Canned tweets are now specified in JSON format. Any media (images etc.) should be downloaded locally and a path relative to the
tweets
directory should be given in thepath
property of the JSON. You can have both amsg
and apath
.Also introducing DEBUG MODE. Start the script with
--debug
or-d
to enter debug mode, where the console will log debug messages and up, and tweets will not be sent off (they will be stored in a file in the timestamped log directory). Otherwise, the default console log level is INFO. I highly recommend using this for testing so we don't clog up our twitter account.I also fixed some failing tests (not that anyone else would run them...).