Changeset 485:b254e5cd222e


Ignore:
Timestamp:
03/31/13 11:12:12 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Fixed the handling of the pirepAutoSave configuration setting (re #196)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/config.py

    r402 r485  
    667667                                         "pirepDirectory", None)
    668668
    669         self._pirepAutoSave = self._get(config, "general",
    670                                         "pirepAutoSave", False)
    671         self._pirepAutoSave = self._pirepAutoSave and \
    672                               self._pirepAutoSave is not None
     669        self._pirepAutoSave = self._getBoolean(config, "general",
     670                                               "pirepAutoSave", False)
    673671
    674672        self._messageTypeLevels = {}
Note: See TracChangeset for help on using the changeset viewer.