summaryrefslogtreecommitdiff
path: root/contrib/splicex/src
diff options
context:
space:
mode:
authorNick <nick@somerandomnick.ano>2012-06-14 17:33:14 +0000
committerNick <nick@somerandomnick.ano>2012-06-14 17:33:14 +0000
commitba3b02dab93b9415358925629767e725ce60b5c7 (patch)
tree12c050ea600d7ecda50a7e49a84eeb21f7f5ffe5 /contrib/splicex/src
parent7cc7c71081e8d9990ff81efb088937f642cdcfb6 (diff)
parentbf897c8381adc10fc59542f7dff58ce0dc1ab2dd (diff)
downloadresdb-ba3b02dab93b9415358925629767e725ce60b5c7.tar.gz
resdb-ba3b02dab93b9415358925629767e725ce60b5c7.zip
Merge commit 'bf897c8381adc10fc59542f7dff58ce0dc1ab2dd'
Diffstat (limited to 'contrib/splicex/src')
-rw-r--r--contrib/splicex/src/splicex.pyx4
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])