summaryrefslogtreecommitdiff
path: root/portato/gui/windows/main.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-04-01 15:00:12 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-04-01 15:00:12 +0200
commitc7b564ac84ad9fb7a72ee0896c2616b0383c68de (patch)
tree89b197c026bccefd6df9c32bd52163ef6f2a7e6e /portato/gui/windows/main.py
parent5a52259b1404727718f57d44b266820542b9f1e6 (diff)
downloadportato-c7b564ac84ad9fb7a72ee0896c2616b0383c68de.tar.gz
portato-c7b564ac84ad9fb7a72ee0896c2616b0383c68de.tar.bz2
portato-c7b564ac84ad9fb7a72ee0896c2616b0383c68de.zip
Fixed bug from switching to ConfigParser
Diffstat (limited to 'portato/gui/windows/main.py')
-rw-r--r--portato/gui/windows/main.py8
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()