Avoid crash under Windows
This commit is contained in:
parent
838df9d2cc
commit
5cbe23166a
1 changed files with 3 additions and 1 deletions
|
|
@ -2,10 +2,10 @@
|
||||||
# vim: sts=2 sw=2 ts=2
|
# vim: sts=2 sw=2 ts=2
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
import platform
|
||||||
|
|
||||||
from subprocess import PIPE, STDOUT
|
from subprocess import PIPE, STDOUT
|
||||||
|
|
||||||
from wk import graph
|
|
||||||
from wk.cfg.hw import (
|
from wk.cfg.hw import (
|
||||||
IO_ALT_TEST_SIZE_FACTOR,
|
IO_ALT_TEST_SIZE_FACTOR,
|
||||||
IO_BLOCK_SIZE,
|
IO_BLOCK_SIZE,
|
||||||
|
|
@ -26,6 +26,8 @@ from wk.std import (
|
||||||
strip_colors,
|
strip_colors,
|
||||||
color_string,
|
color_string,
|
||||||
)
|
)
|
||||||
|
if platform.system() != 'Windows':
|
||||||
|
from wk import graph
|
||||||
|
|
||||||
|
|
||||||
# STATIC VARIABLES
|
# STATIC VARIABLES
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue