Commit 6f1d0f77 authored by BigxMac's avatar BigxMac
Browse files

Fixed httplib import

In Python 3 httplib should be imported and used as http.client
parent c751d583
......@@ -13,6 +13,7 @@ Ferenc Szalai
Gergely Imreh
Guan Yang
Ivo Wetzel
Jared Stefanowicz
James Rowe
Jenny Loomis
Johannes Faigle
......
......@@ -22,6 +22,6 @@ api = API()
def debug(enable=True, level=1):
import httplib
httplib.HTTPConnection.debuglevel = level
import http.client
http.client.HTTPConnection.debuglevel = level
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