diff options
author | nicolargo <nicolas@nicolargo.com> | 2017-12-29 22:24:33 +0100 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2017-12-29 22:24:33 +0100 |
commit | e4d2756c0e0253159d8f377ef61fd31528b0606a (patch) | |
tree | 147e4bb38ae1b97185d5403bf91d806278e1ca58 /glances/main.py | |
parent | 403fd0694952c827ec4421773b753ed3eafde728 (diff) |
Glances do not exit when eating 'q' #1207
Diffstat (limited to 'glances/main.py')
-rw-r--r-- | glances/main.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/glances/main.py b/glances/main.py index f814aac5..e3334f8a 100644 --- a/glances/main.py +++ b/glances/main.py @@ -418,11 +418,11 @@ Examples of use: return self.mode def __get_username(self, description=''): - """Read an username from the command line. - """ + """Read an username from the command line.""" return input(description) - def __get_password(self, description='', confirm=False, clear=False, username='glances'): + def __get_password(self, description='', + confirm=False, clear=False, username='glances'): """Read a password from the command line. - if confirm = True, with confirmation |