diff options
author | d3v11 <d3v11@d3v11.ano> | 2012-05-27 00:56:05 +0000 |
---|---|---|
committer | d3v11 <d3v11@d3v11.ano> | 2012-05-27 00:56:05 +0000 |
commit | bf897c8381adc10fc59542f7dff58ce0dc1ab2dd (patch) | |
tree | 4a377a2f857941662cde704d6869287939c4ef99 | |
parent | 40af6cb0b04cc5c938fc0212d8b9bbc91bedc716 (diff) | |
download | resdb-bf897c8381adc10fc59542f7dff58ce0dc1ab2dd.tar.gz resdb-bf897c8381adc10fc59542f7dff58ce0dc1ab2dd.zip |
improved arguments for time and length
-rw-r--r-- | contrib/splicex/src/splicex.pyx | 4 |
1 files changed, 3 insertions, 1 deletions
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]) |