aboutsummaryrefslogtreecommitdiffstats
path: root/git_deps
diff options
context:
space:
mode:
Diffstat (limited to 'git_deps')
-rw-r--r--git_deps/server.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/git_deps/server.py b/git_deps/server.py
index 694083e..7185992 100644
--- a/git_deps/server.py
+++ b/git_deps/server.py
@@ -12,8 +12,9 @@ from git_deps.utils import abort, standard_logger
def serve(options):
try:
import flask
- from flask import Flask, send_file, safe_join
+ from flask import Flask, send_file
from flask.json import jsonify
+ from werkzeug.security import safe_join
except ImportError:
abort("Cannot find flask module which is required for webserver mode.")