From 24a636001671e4ebddabeac010636112c5e9c3c2 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 28 Dec 2014 18:41:51 +1000 Subject: [PATCH] Fix call to undefined function. --- uTorrentToSickBeardwithConverter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uTorrentToSickBeardwithConverter.py b/uTorrentToSickBeardwithConverter.py index a277aac4..7c9566eb 100644 --- a/uTorrentToSickBeardwithConverter.py +++ b/uTorrentToSickBeardwithConverter.py @@ -23,7 +23,7 @@ def _sendRequest(session, host='http://localhost:8080/', username=None, password try: response = session.post(host + "gui/", auth=(username, password), params=params, files=files, timeout=30) except (requests.exceptions.ConnectionError, requests.exceptions.HTTPError), e: - print "[uTorrent] Problem sending command " + fnct + " - " + ex(e) + print "[uTorrent] Problem sending command " + fnct + " - " + str(e) return False if response.status_code == 200: