changes for 3.0
[monitor.git] / config.py
index b37e04a..feef515 100644 (file)
--- a/config.py
+++ b/config.py
@@ -48,8 +48,14 @@ if not config.imported:
 
        #from config import options as config
        options = Options()
-       update_section(options, 'commandline', True)
-       update_section(options, 'monitorconfig')
+       try:
+               update_section(options, 'commandline', True)
+       except:
+               pass
+       try:
+               update_section(options, 'monitorconfig')
+       except:
+               pass
 
 #for i in dir(config):
 #      if "__" not  in i: