Avoid crash under Windows

This commit is contained in:
2Shirt 2022-09-28 09:56:09 -07:00
parent 838df9d2cc
commit 5cbe23166a
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -2,10 +2,10 @@
# vim: sts=2 sw=2 ts=2
import logging
import platform
from subprocess import PIPE, STDOUT
from wk import graph
from wk.cfg.hw import (
IO_ALT_TEST_SIZE_FACTOR,
IO_BLOCK_SIZE,
@ -26,6 +26,8 @@ from wk.std import (
strip_colors,
color_string,
)
if platform.system() != 'Windows':
from wk import graph
# STATIC VARIABLES