Someone forgot to remove prints in a file...

This commit is contained in:
zero 2022-08-19 15:51:10 +02:00
parent 891c2530e6
commit 9b2da1e2cc
1 changed files with 0 additions and 2 deletions

View File

@ -4,9 +4,7 @@ register = template.Library()
@register.simple_tag
def get_chall_by_lang(chall, lang):
print(chall.slug)
filepath = "ctfs/templates/challenges/"+ lang + "/" + chall.slug + ".html"
print(filepath)
try:
with open(filepath) as fp:
return fp.read()