diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2010-04-01 15:00:12 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2010-04-01 15:00:12 +0200 |
commit | c7b564ac84ad9fb7a72ee0896c2616b0383c68de (patch) | |
tree | 89b197c026bccefd6df9c32bd52163ef6f2a7e6e /portato/gui/windows | |
parent | 5a52259b1404727718f57d44b266820542b9f1e6 (diff) | |
download | portato-c7b564ac84ad9fb7a72ee0896c2616b0383c68de.tar.gz portato-c7b564ac84ad9fb7a72ee0896c2616b0383c68de.tar.bz2 portato-c7b564ac84ad9fb7a72ee0896c2616b0383c68de.zip |
Fixed bug from switching to ConfigParser
Diffstat (limited to '')
-rw-r--r-- | portato/gui/windows/main.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py index bc40a1f..3baf71c 100644 --- a/portato/gui/windows/main.py +++ b/portato/gui/windows/main.py @@ -1434,8 +1434,8 @@ class MainWindow (Window): """Execute the current queue.""" if len(flags.newUseFlags) > 0: - if not self.session.get_boolean("useflags", "dialogs"): - self.session.set("useflags", dialogs.changed_flags_dialog(_("use flags"))[1], "dialogs") + if not bool(self.session.get("useflags", "dialogs")): + self.session.set("useflags", str(dialogs.changed_flags_dialog(_("use flags"))[1]), "dialogs") try: flags.write_use_flags() except IOError, e: @@ -1446,8 +1446,8 @@ class MainWindow (Window): debug("new masked: %s",flags.new_masked) debug("new unmasked: %s", flags.new_unmasked) debug("new testing: %s", flags.newTesting) - if not self.session.get_boolean("keywords", "dialogs"): - self.session.set("keywords", dialogs.changed_flags_dialog(_("masking keywords"))[1], "dialogs") + if not bool(self.session.get("keywords", "dialogs")): + self.session.set("keywords", str(dialogs.changed_flags_dialog(_("masking keywords"))[1]), "dialogs") try: flags.write_masked() flags.write_testing() |