forked from 42CTF/website
Someone forgot to remove prints in a file...
This commit is contained in:
parent
891c2530e6
commit
9b2da1e2cc
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue