Don't import graph under Windows

This commit is contained in:
2Shirt 2023-10-22 02:04:47 -07:00
parent f0b2b5f0ee
commit ab5766ff4f
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -2,6 +2,7 @@
# vim: sts=2 sw=2 ts=2
import logging
import platform
import re
import subprocess
@ -9,15 +10,17 @@ from typing import TextIO
from wk import exe
from wk.cfg.hw import CPU_TEMPS
from wk.graph import (
export_cpu_graph,
upload_to_imgur,
upload_to_nextcloud,
)
from wk.os.mac import set_fans as macos_set_fans
from wk.std import PLATFORM
from wk.ui import ansi
if platform.system() != 'Windows':
from wk.graph import (
export_cpu_graph,
upload_to_imgur,
upload_to_nextcloud,
)
# STATIC VARIABLES
LOG = logging.getLogger(__name__)