Commit 4a8b635d authored by echel0n's avatar echel0n

Fixed issue with sending direct messages via twitter API.

parent df9fe01e
# Changelog
- * 9b3bf61 - 2019-02-23: Release v9.4.69
- * 3eb43d5 - 2019-02-23: Fixed issue with sending direct messages via twitter API.
- * 502eb01 - 2019-02-23: Release v9.4.69
- * ffa69b5 - 2019-02-23: Don't attempt daily or backlog searches if nothing to search for. Version updater now moves entire folder at once instead of walking it for source updates.
- * 2f89453 - 2019-02-23: Pre-Release v9.4.69.dev1
- * 8324c57 - 2019-02-23: Added new release mapping %SY to allow appending the show year to episodes. Added new show option to append show year to show folder if needed. Added check for existing show year in show name, if found, do not append show year.
......
......@@ -145,7 +145,7 @@ class TwitterNotifier(Notifiers):
api = twitter.Api(username, password, access_token_key, access_token_secret)
try:
api.PostDirectMessage(dmdest, message.encode('utf8')[:139])
api.PostDirectMessage(message.encode('utf8')[:139], dmdest)
except Exception as e:
sickrage.app.log.error("Error Sending Tweet (DM): {}".format(e))
return False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment