Skip to content
Snippets Groups Projects
Commit 1b670472 authored by Ferenc Schulcz's avatar Ferenc Schulcz
Browse files

Remove serve_static from rqtools

parent 6132d862
No related branches found
No related tags found
No related merge requests found
...@@ -364,8 +364,3 @@ class RequestTools: ...@@ -364,8 +364,3 @@ class RequestTools:
with open(args[1], 'r') as f: with open(args[1], 'r') as f:
template = f.read() template = f.read()
return render_template_string(template, **kwargs) return render_template_string(template, **kwargs)
def serve_static(*args, **kwargs):
directory = args[1]
path = 'static/' + args[2]
return send_from_directory(directory, path, **kwargs)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment