]> git.llucax.com Git - personal/ion3-config.git/commitdiff
Bugfix: use default_secs seconds as interval if not provided in commandline.
authorLeandro Lucarella <llucax@gmail.com>
Mon, 26 Nov 2007 04:14:53 +0000 (01:14 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Mon, 26 Nov 2007 04:14:53 +0000 (01:14 -0300)
maildir_status_server.py

index 3b7cef94cd63cb5912da62798bb24580e5c51ff9..9ff1c87d2ebc9ce1ae20126612a22f3b647c8903 100755 (executable)
@@ -15,6 +15,8 @@ yes_template = '%(name)s (%(messages)s)'
 join_str = ' '
 default_secs = 30
 
 join_str = ' '
 default_secs = 30
 
+secs = default_secs
+
 if len(sys.argv) > 1:
        secs = int(sys.argv[1])
 
 if len(sys.argv) > 1:
        secs = int(sys.argv[1])