mirror of
https://github.com/nicolargo/glances.git
synced 2025-01-07 02:20:26 +03:00
Reformat code
This commit is contained in:
parent
5d88280ad6
commit
b8c6c22bb0
@ -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():
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user