certainly due to a wring copy / paste, the self.destination_file get direct argument, it must be get destination_file
Error before commit, when I launch the command (python main.py -i -v --destination=1303216520.16.md.html 1303216520.16.md) is :
Traceback (most recent call last):
File "/home/simon.leblanc/www/slide/slides/main.py", line 162, in
main()
File "/home/simon.leblanc/www/slide/slides/main.py", line 155, in main
run(input_file, options)
File "/home/simon.leblanc/www/slide/slides/main.py", line 142, in run
generator = Generator(input_file, options.dict)
File "/home/simon.leblanc/www/slide/slides/generator.py", line 114, in init**
if (os.path.exists(self.destination_file)
File "/usr/lib/python2.5/posixpath.py", line 171, in exists
st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, bool found
certainly due to a wring copy / paste, the self.destination_file get direct argument, it must be get destination_file
Error before commit, when I launch the command (python main.py -i -v --destination=1303216520.16.md.html 1303216520.16.md) is : Traceback (most recent call last): File "/home/simon.leblanc/www/slide/slides/main.py", line 162, in
main()
File "/home/simon.leblanc/www/slide/slides/main.py", line 155, in main
run(input_file, options)
File "/home/simon.leblanc/www/slide/slides/main.py", line 142, in run
generator = Generator(input_file, options.dict)
File "/home/simon.leblanc/www/slide/slides/generator.py", line 114, in init**
if (os.path.exists(self.destination_file)
File "/usr/lib/python2.5/posixpath.py", line 171, in exists
st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, bool found
This commit fix this error