Mercurial > hg > anonet-resdb
changeset 953:69a104eb11d6 draft
improved arguments for time and length
author | d3v11 <d3v11@d3v11.ano> |
---|---|
date | Sun, 27 May 2012 00:56:05 +0000 |
parents | 1ec03f851ccf |
children | f95b4af563e6 |
files | contrib/splicex/src/splicex.pyx |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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])