aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmailconf.py
diff options
context:
space:
mode:
authorMichael Banack <bob5972@gmail.com>2010-04-22 12:35:57 -0700
committerMatthias Andree <matthias.andree@gmx.de>2010-04-22 22:45:46 +0200
commit083d202ec500dd27ce5511d960108bdd66f8a956 (patch)
treea54bbd5a78542f7d0351cf0934d513402d1610f9 /fetchmailconf.py
parentdbb3ce17820b05b993ca1f85e62ec303290ba7e8 (diff)
downloadfetchmail-083d202ec500dd27ce5511d960108bdd66f8a956.tar.gz
fetchmail-083d202ec500dd27ce5511d960108bdd66f8a956.tar.bz2
fetchmail-083d202ec500dd27ce5511d960108bdd66f8a956.zip
Fixed set invisible bug in fetchmailconf.py
Previously it was not saving the preference at all.
Diffstat (limited to 'fetchmailconf.py')
-rwxr-xr-xfetchmailconf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fetchmailconf.py b/fetchmailconf.py
index 9bfdda0d..2dc02d87 100755
--- a/fetchmailconf.py
+++ b/fetchmailconf.py
@@ -65,6 +65,8 @@ class Configuration:
str = str + ("set properties \"%s\"\n" % (self.properties,));
if self.poll_interval > 0:
str = str + "set daemon " + `self.poll_interval` + "\n"
+ if self.invisible:
+ str = str + ("set invisible\n")
for site in self.servers:
str = str + repr(site)
return str