[O] Global IS_WINDOWS constant

This commit is contained in:
Azalea Gui 2023-02-07 18:52:37 -05:00
parent 6f0e659d90
commit 96a48659e5
No known key found for this signature in database
GPG key ID: E289FAC0DA92DD2B
2 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,6 @@
from __future__ import annotations
import platform
from dataclasses import dataclass
from pathlib import Path
@ -25,7 +26,7 @@ _/\_\_ _/_/\_
TEST_ASCII_WIDTH = max(len(line) for line in TEST_ASCII.split('\n'))
DEFAULT_DARK_L = 0.
IS_WINDOWS = platform.system() == 'Windows'
@dataclass
class GlobalConfig: