View Single Post
Old 05-17-2017, 01:45 PM   #1
TonyAn
Junior Member
TonyAn began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2017
Device: Xiaomi
Python newbie, need help about print statement debug

I've never written python in the past, but have to toughen my scalp in order to fulfill a rigid demand. I've set up the calibre development environment, but can't use the print statement to debug successfully.

I added print(url) in the 224 lines of src/calibre/ebooks/metadata/sources/douban.py, then calibre-debug -g, select a certain ebook, download its douban metadata successfully....but now, the console only shows the debug information as shown in the below, I can't see any print(url)?

don't understand why...which step is mistake?

[Image violates Posting Guidelines for size - MODERATOR]

Last edited by Dr. Drib; 05-17-2017 at 02:10 PM.
TonyAn is offline   Reply With Quote