Closed lairdchris closed 5 years ago
I don't think this is an obvious typo. I believe linux2 is a valid return. I didn't originally write this part, but maybe you need linux2 and linux? It maybe just default to assuming Linux if we don't match windows or macOS.
Well, the Python documentation only mentions 'linux' as valid platform value, besides Win and MacOS https://docs.python.org/3/library/sys.html?highlight=system%20platform#sys.platform
'linux2' was valid before, so my typo assumption is actually wrong.
Ah, yes, I guess linux2
and linux3
was a Python 2 and Python < 3.3 thing. So yes, as far as Python 3.3 is concerned (what Sublime uses) we don't need linux2
.
Fixed typo that prevents Linux from being recognized as platform and starting the preview as background process, thus freezing Sublime while the preview is open.
resolves #72