summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.py b/src/common.py
index 226780bc..48613847 100644
--- a/src/common.py
+++ b/src/common.py
@@ -206,6 +206,8 @@ def parse_str_to_secs(duration=''):
tmp = '0'
else:
result += int(tmp)
+ if tmp != '0':
+ result += int(tmp)
return result
def parse_secs_to_str(duration=0):