From 090951f2702b2bf54c3d7e802596de71008737c6 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 14 Apr 2016 19:34:02 +0530 Subject: [PATCH] debug information changes. --- buku | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/buku b/buku index a4bd61a..8800baa 100755 --- a/buku +++ b/buku @@ -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)