Skip to content

Commit

Permalink
Fix call to undefined function.
Browse files Browse the repository at this point in the history
  • Loading branch information
greenacorn-michael committed Dec 28, 2014
1 parent 575eab2 commit 24a6360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uTorrentToSickBeardwithConverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 24a6360

Please sign in to comment.