summaryrefslogtreecommitdiff
path: root/chaussette/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'chaussette/server.py')
-rw-r--r--chaussette/server.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/chaussette/server.py b/chaussette/server.py
index 450e2af..c33c90f 100644
--- a/chaussette/server.py
+++ b/chaussette/server.py
@@ -157,6 +157,10 @@ def main():
help="log output")
args = parser.parse_args()
+ if args.python_path is not None:
+ for path in args.python_path.split(os.pathsep):
+ sys.path.append(path)
+
if is_gevent_backend(args.backend) and not args.no_monkey:
from gevent import monkey
monkey.noisy = False