diff options
Diffstat (limited to 'glances')
-rw-r--r-- | glances/main.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/glances/main.py b/glances/main.py index 47574001..7e1bbb1b 100644 --- a/glances/main.py +++ b/glances/main.py @@ -556,6 +556,9 @@ Examples of use: # Plugins refresh rate if self.config.has_section('global'): global_refresh = self.config.get_float_value('global', 'refresh', default=self.DEFAULT_REFRESH_TIME) + else: + global_refresh = self.DEFAULT_REFRESH_TIME + # The configuration key can be overwrite from the command line if args.time == self.DEFAULT_REFRESH_TIME: args.time = global_refresh logger.debug('Global refresh rate is set to {} seconds'.format(args.time)) |