From bf897c8381adc10fc59542f7dff58ce0dc1ab2dd Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sun, 27 May 2012 00:56:05 +0000 Subject: improved arguments for time and length --- contrib/splicex/src/splicex.pyx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/splicex/src/splicex.pyx b/contrib/splicex/src/splicex.pyx index 26baac6..11b8a87 100644 --- a/contrib/splicex/src/splicex.pyx +++ b/contrib/splicex/src/splicex.pyx @@ -1752,7 +1752,8 @@ PassAmount = 0 StartTime = time.time() - 1 if TIME != None: try: - TIME = TIME.split(", ") + TIME = TIME.replace(' ','') + TIME = TIME.split(",") sleep_now = int(TIME[0]) sleep_for = int(TIME[1]) @@ -1765,6 +1766,7 @@ else: if LENGTH != None: try: + LENGTH = LENGTH.replace(' ','') LENGTH = LENGTH.split(", ") length_start = int(LENGTH[0]) length_end = int(LENGTH[1]) -- cgit v1.2.3