Pārlūkot izejas kodu

fixing issue with intro texts

practices
Simon Bowie pirms 1 gada
vecāks
revīzija
7b458de933
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +1
    -1
      web/app/practice.py
  2. +1
    -1
      web/app/tool.py

+ 1
- 1
web/app/practice.py Parādīt failu

@@ -29,7 +29,7 @@ def get_practices():
# set resource type
resource_type = 'practice'
# get introductory paragraph Markdown
with open('content/books.md', 'r') as f:
with open('content/practices.md', 'r') as f:
intro_text = f.read()
intro_text = markdown.markdown(intro_text)


+ 1
- 1
web/app/tool.py Parādīt failu

@@ -28,7 +28,7 @@ def get_tools():
# set resource type
resource_type = 'tool'
# get introductory paragraph Markdown
with open('content/books.md', 'r') as f:
with open('content/tools.md', 'r') as f:
intro_text = f.read()
intro_text = markdown.markdown(intro_text)


Notiek ielāde…
Atcelt
Saglabāt