File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1111
1212bookbuild :
1313 cp -R content tempcontent
14- python ./utilities/ transform_book.py
14+ python transform_book.py pdf
1515 pelican -t theme -s book_settings.py -o generated/book tempcontent
1616 cp -R static-html/* generated/book/
1717 cp -R static/* generated/book/
Original file line number Diff line number Diff line change 180180
181181def transform (output_format = 'pdf' ):
182182 dirs = os .listdir (BASE_DIR )
183- print os .listdir (BASE_DIR )
183+ print ( os .listdir (BASE_DIR ) )
184184 for d in dirs :
185185 if isdir (BASE_DIR + d ):
186186 # modify all markdown files in directory
@@ -197,7 +197,7 @@ def transform(output_format='pdf'):
197197 write_f .write ("" )
198198 else :
199199 write_f .write (l )
200- print 'prepared file ' + str (d ) + '/' + str (f )
200+ print ( 'prepared file ' + str (d ) + '/' + str (f ) )
201201
202202
203203if __name__ == '__main__' :
You can’t perform that action at this time.
0 commit comments