From de4072d7b76375885c7a89bc755caf9d81ef4431 Mon Sep 17 00:00:00 2001 From: Stephen Nixon Date: Fri, 22 Feb 2019 10:51:59 -0500 Subject: Serve symlink patch: fix error exception to serve lab if symlink exists (#130) * fix error exception to serve lab if symlink exists * ignore personal VS Code workspace settings --- docs/lab/serve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/lab') diff --git a/docs/lab/serve.py b/docs/lab/serve.py index afc96854a..91fc12cb0 100755 --- a/docs/lab/serve.py +++ b/docs/lab/serve.py @@ -26,7 +26,7 @@ class HTTPServer(http.server.HTTPServer): labdir = abspath(dirname(__file__)) try: os.symlink('../../build/fonts', pjoin(labdir, 'fonts')) -except FileExistsError: +except OSError: pass addr = ("localhost", 3003) -- cgit v1.2.3