summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a0a6209)
def record(channel,tsid,out,timelength,decode=1):
if not os.path.exists(tmppath+u"rec.sh"):
ft=open(tmppath+u"rec.sh","w")
def record(channel,tsid,out,timelength,decode=1):
if not os.path.exists(tmppath+u"rec.sh"):
ft=open(tmppath+u"rec.sh","w")
- ft.write(u"#!/bin/bash\n/bin/cat $1 > $2")
+ ft.write(u"#!/bin/bash\n/bin/cat $1 > \"$2\"")
ft.close()
os.system(u"chmod +x "+tmppath+u"rec.sh")
adapt=getActiveAdapter(channel)
ft.close()
os.system(u"chmod +x "+tmppath+u"rec.sh")
adapt=getActiveAdapter(channel)