Kaydet (Commit) b0ba65c2 authored tarafından Your Name's avatar Your Name

fix wsl blocking

üst 47929ae5
......@@ -93,10 +93,10 @@ def handle_exception(exception, value, tb):
def blc_wsl():
"""Dont allow fucking WSL"""
f = str(os.uname())
if (("Microsoft" in f) or ("WSL" in f)):
f = str(os.uname()).lower()
if (("microsoft" in f) or ("wsl" in f)):
ui.error(_("Using inary in WSL environment is not allowed."))
if __name__ == "__main__":
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment