aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2022-06-21 10:01:14 +0100
committerGitHub <noreply@github.com>2022-06-21 10:01:14 +0100
commit8cafb5cb1f181a6f220f7ce7f93be711ec160a9b (patch)
tree9153620af8ce699b57c82be2e4d7a5f95684d9bd
parenta894a846a4684d37f966a1c25acf727179fa0a60 (diff)
parent778008db79d3951fbcdc1f2475ead1e02dbf47f8 (diff)
downloadgit-deps-8cafb5cb1f181a6f220f7ce7f93be711ec160a9b.tar.gz
Merge pull request #111 from hagai-helman/master
-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.")