We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0662211 commit 70fb928Copy full SHA for 70fb928
transform_book.py
@@ -3,7 +3,7 @@
3
from os.path import isdir, isfile
4
5
6
-BASE_DIR = './tempcontent/'
+BASE_DIR = './tempcontent/pages/'
7
BASE_FSP = "https://www.fullstackpython.com/"
8
9
links = {"/introduction.html":
@@ -191,7 +191,7 @@ def transform(output_format='pdf'):
191
192
with open(BASE_DIR + d + '/' + f, 'w') as write_f:
193
for l in all_lines[8:]:
194
- for k, v in links.iteritems():
+ for k, v in links.items():
195
l = l.replace(k, v)
196
if "<div class=\"well see-also\">" in l:
197
write_f.write("")
0 commit comments