diff --git a/nginx_proxy.py b/nginx_proxy.py index bb6bdab..6cb549f 100755 --- a/nginx_proxy.py +++ b/nginx_proxy.py @@ -113,7 +113,7 @@ def handle_event(event): os.kill(pid, signal.SIGHUP) if not os.path.exists(target_path): - os.mkdirs(target_path) + os.mkdir(target_path) pid = get_pid()