summaryrefslogtreecommitdiff
path: root/docs/lab
diff options
context:
space:
mode:
authorStephen Nixon <swr410@gmail.com>2019-02-22 18:51:59 +0300
committerRasmus <rasmus@notion.se>2019-02-22 18:51:59 +0300
commitde4072d7b76375885c7a89bc755caf9d81ef4431 (patch)
tree732a9070fb80feedca4999160dd4d187530b607f /docs/lab
parent38a830d0a968c1c24a29cfc9ff4f1bf38b3705c6 (diff)
downloadinter-de4072d7b76375885c7a89bc755caf9d81ef4431.tar.xz
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
Diffstat (limited to 'docs/lab')
-rwxr-xr-xdocs/lab/serve.py2
1 files changed, 1 insertions, 1 deletions
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)