Changeset 688:8270201617c0 for src


Ignore:
Timestamp:
10/20/15 15:00:24 (9 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
cef
Phase:
public
Message:

Created a separate section in the configuration file for SimBrief-related options (re #279)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/config.py

    r684 r688  
    693693                                                -2))
    694694
    695         self._useSimBrief = self._getBoolean(config, "general",
    696                                              "useSimBrief", False)
     695        self._useSimBrief = self._getBoolean(config, "simbrief",
     696                                             "use", False)
    697697
    698698        self._pirepDirectory = self._get(config, "general",
     
    776776                   str(self._vsSmoothingLength))
    777777
    778         config.set("general", "useSimBrief",
     778        config.add_section("simbrief")
     779        config.set("simbrief", "use",
    779780                   "yes" if self._useSimBrief else "no")
    780781
Note: See TracChangeset for help on using the changeset viewer.