- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/config.py
r738 r897 673 673 """Determine if RPC calls should be used.""" 674 674 return self._useRPC 675 676 @useRPC.setter677 def useRPC(self, useRPC):678 """Set whether RPC calls should be used."""679 if useRPC!=self._useRPC:680 self._useRPC = useRPC681 self._modified = True682 675 683 676 def getChecklist(self, aircraftType): … … 788 781 Config.DEFAULT_UPDATE_URL + 789 782 ("/exp" if secondaryInstallation else "")) 790 self._useRPC = self._getBoolean(config, "general", "useRPC", True)791 783 792 784 for aircraftType in const.aircraftTypes: … … 881 873 config.set("update", "url", self._updateURL) 882 874 883 config.set("general", "useRPC",884 "yes" if self._useRPC else "no")885 886 875 config.add_section(Checklist.SECTION) 887 876 config.add_section(ApproachCallouts.SECTION) … … 1018 1007 print " autoUpdate:", self._autoUpdate 1019 1008 print " updateURL:", self._updateURL 1020 print " useRPC:", self._useRPC1021 1009 1022 1010 print " messageTypeLevels:"
Note:
See TracChangeset
for help on using the changeset viewer.