Reformat code

This commit is contained in:
nicolargo 2024-05-18 11:26:08 +02:00
parent 5d88280ad6
commit b8c6c22bb0
2 changed files with 4 additions and 6 deletions

View File

@ -89,8 +89,7 @@ def start(config, args):
from glances.standalone import GlancesStandalone as GlancesMode
elif core.is_client():
if core.is_client_browser():
from glances.client_browser import \
GlancesClientBrowser as GlancesMode
from glances.client_browser import GlancesClientBrowser as GlancesMode
else:
from glances.client import GlancesClient as GlancesMode
elif core.is_server():

View File

@ -7,6 +7,7 @@
#
"""Sensors plugin."""
import warnings
from concurrent.futures import ThreadPoolExecutor
from enum import Enum
@ -18,10 +19,8 @@ from glances.globals import to_fahrenheit
from glances.logger import logger
from glances.outputs.glances_unicode import unicode_message
from glances.plugins.plugin.model import GlancesPluginModel
from glances.plugins.sensors.sensor.glances_batpercent import \
PluginModel as BatPercentPluginModel
from glances.plugins.sensors.sensor.glances_hddtemp import \
PluginModel as HddTempPluginModel
from glances.plugins.sensors.sensor.glances_batpercent import PluginModel as BatPercentPluginModel
from glances.plugins.sensors.sensor.glances_hddtemp import PluginModel as HddTempPluginModel
from glances.timer import Counter