Quote:
Originally Posted by scissors
Also is it possible to echo a string to screen so you can test what's going on?
I'm baffled now - any help
|
Some tips:
1) Use CODE tags when posting here (the hash). They are needed to be sure you are using correct indents. (Are you?)
2) Post the complete recipe so we can test it.
3) Use SPOILER tags here to make the thread easier to read (the X-ed eye).
4) In your recipe, insert print statements. They will print to the log
Code:
#define variable here
print 'The variable is: ', variable
5) Even better run:
Code:
ebook-convert test.recipe test_1 --test -vv> Test.txt
to echo to Test.txt
I suspect you haven't got def print_version(self, url): correctly indented so it doesn't run.