Skip to content

Commit 0c6c488

Browse files
committed
Lint the code
1 parent 4a4cb13 commit 0c6c488

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

glances/client_browser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def __display_server(self, server):
8282
# Test if client and server are in the same major version
8383
if not client.login():
8484
self.screen.display_popup(
85-
"Sorry, cannot connect to '{}'\n" "See '{}' for more details".format(server['name'], LOG_FILENAME)
85+
"Sorry, cannot connect to '{}'\nSee '{}' for more details".format(server['name'], LOG_FILENAME)
8686
)
8787

8888
# Set the ONLINE status for the selected server

glances/exports/export.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def load_conf(self, section, mandatories=['host', 'port'], options=None):
106106
pass
107107

108108
logger.debug(f"Load {section} from the Glances configuration file")
109-
logger.debug(f"{section} parameters: {({opt: getattr(self, opt) for opt in mandatories + options})}")
109+
logger.debug(f"{section} parameters: { ({opt: getattr(self, opt) for opt in mandatories + options}) }")
110110

111111
return True
112112

0 commit comments

Comments
 (0)