# HG changeset patch # User d3v11 # Date 1338080165 0 # Node ID 69a104eb11d61f42ff0b67b5fa3459920f1353cd # Parent 1ec03f851ccf6b5e52e62df4625a5e3fe9d3a8f3 improved arguments for time and length diff -r 1ec03f851ccf -r 69a104eb11d6 contrib/splicex/src/splicex.pyx --- a/contrib/splicex/src/splicex.pyx Sat May 19 21:15:09 2012 +0000 +++ b/contrib/splicex/src/splicex.pyx Sun May 27 00:56:05 2012 +0000 @@ -1752,7 +1752,8 @@ 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 @@ if LENGTH != None: try: + LENGTH = LENGTH.replace(' ','') LENGTH = LENGTH.split(", ") length_start = int(LENGTH[0]) length_end = int(LENGTH[1])