Core: move is_linux, _macos, _windows to Utils.py

This commit is contained in:
black-sliver
2022-06-04 18:10:34 +02:00
committed by Fabian Dill
parent 103f9e0b85
commit d9418d5ce1
4 changed files with 8 additions and 9 deletions

View File

@@ -13,12 +13,12 @@ import logging
import requests
import Utils
from Utils import is_windows
atexit.register(input, "Press enter to exit.")
# 1 or more digits followed by m or g, then optional b
max_heap_re = re.compile(r"^\d+[mMgG][bB]?$")
is_windows = sys.platform in ("win32", "cygwin", "msys")
def prompt_yes_no(prompt):