debug information changes.

This commit is contained in:
Arun Prakash Jana 2016-04-14 19:34:02 +05:30
parent 401a482497
commit 090951f270
No known key found for this signature in database
GPG Key ID: C0A712ED95043DCB

6
buku
View File

@ -227,8 +227,7 @@ def getPageResp(url, fullurl=False):
return (None, None)
if debug:
print("server: [%s]" % server)
print("URL: [%s]" % url)
print("server [%s] url [%s]" % (server, url))
# Handle URLs passed with %xx escape
try:
@ -261,6 +260,9 @@ def getTitleData(resp):
if charset == None:
charset = 'utf-8'
if debug:
printmsg("Charset missing in response", "WARNING")
if debug:
print("charset: %s" % charset)