Skip to content

Commit

Permalink
fix broken maps_height settings
Browse files Browse the repository at this point in the history
thanks to @jnko!

closes #194
  • Loading branch information
furlongm committed Feb 17, 2021
1 parent 3664fb4 commit ffb8912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openvpn-monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def load_default_settings(self):
'show_disconnect': False}

def parse_global_section(self, config):
global_vars = ['site', 'logo', 'latitude', 'longitude', 'maps', 'geoip_data', 'datetime_format']
global_vars = ['site', 'logo', 'latitude', 'longitude', 'maps', 'maps_height', 'geoip_data', 'datetime_format']
for var in global_vars:
try:
self.settings[var] = config.get('openvpn-monitor', var)
Expand Down

0 comments on commit ffb8912

Please sign in to comment.