diff options
author | Stephen Nixon <swr410@gmail.com> | 2019-02-22 18:51:59 +0300 |
---|---|---|
committer | Rasmus <rasmus@notion.se> | 2019-02-22 18:51:59 +0300 |
commit | de4072d7b76375885c7a89bc755caf9d81ef4431 (patch) | |
tree | 732a9070fb80feedca4999160dd4d187530b607f /docs | |
parent | 38a830d0a968c1c24a29cfc9ff4f1bf38b3705c6 (diff) | |
download | inter-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')
-rwxr-xr-x | docs/lab/serve.py | 2 |
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) |