From 88d32a7bc4f8f97a488c313952103567038b1c32 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 30 Jul 2012 19:05:20 +0200 Subject: Add an autorejoin_delay option - document it - works in per-tab config too --- src/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common.py') diff --git a/src/common.py b/src/common.py index 23912411..647454cb 100644 --- a/src/common.py +++ b/src/common.py @@ -210,7 +210,7 @@ def parse_str_to_secs(duration=''): result += tmp_i * values[char] tmp = '0' else: - result += int(tmp) + return 0 if tmp != '0': result += int(tmp) return result -- cgit v1.2.3