Skip to content

Commit 2d0a745

Browse files
committed
Fix -m
1 parent 099eb36 commit 2d0a745

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyls/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from future.standard_library import install_aliases
44
import pluggy
55
from ._version import get_versions
6+
from .__main__ import main
67

78
install_aliases()
89
__version__ = get_versions()['version']
@@ -14,3 +15,6 @@
1415
hookimpl = pluggy.HookimplMarker(PYLS)
1516

1617
IS_WIN = os.name == 'nt'
18+
19+
if __name__ == '__main__':
20+
main()

0 commit comments

Comments
 (0)