summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2012-05-27 00:56:05 +0000
committerd3v11 <d3v11@d3v11.ano>2012-05-27 00:56:05 +0000
commitbf897c8381adc10fc59542f7dff58ce0dc1ab2dd (patch)
tree4a377a2f857941662cde704d6869287939c4ef99 /contrib
parent40af6cb0b04cc5c938fc0212d8b9bbc91bedc716 (diff)
downloadresdb-bf897c8381adc10fc59542f7dff58ce0dc1ab2dd.tar.gz
resdb-bf897c8381adc10fc59542f7dff58ce0dc1ab2dd.zip
improved arguments for time and length
Diffstat (limited to 'contrib')
-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])