diff options
author | mathieui <mathieui@mathieui.net> | 2012-07-30 19:05:20 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-07-30 19:05:20 +0200 |
commit | 88d32a7bc4f8f97a488c313952103567038b1c32 (patch) | |
tree | 03de26386ead20ceeb60f842f0ebc03b5ea54d87 /src/common.py | |
parent | ec7dd75012bafd5281e88aa83c54547cb3b36bf5 (diff) | |
download | poezio-88d32a7bc4f8f97a488c313952103567038b1c32.tar.gz poezio-88d32a7bc4f8f97a488c313952103567038b1c32.tar.bz2 poezio-88d32a7bc4f8f97a488c313952103567038b1c32.tar.xz poezio-88d32a7bc4f8f97a488c313952103567038b1c32.zip |
Add an autorejoin_delay option
- document it
- works in per-tab config too
Diffstat (limited to 'src/common.py')
-rw-r--r-- | src/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |