use python3
This commit is contained in:
parent
b43e9f64e3
commit
a40ccbaac9
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
from __future__ import division
|
||||
|
||||
import lxml
|
||||
|
@ -39,5 +39,5 @@ for g in tree.xpath('//generatoritem'):
|
|||
'in': _start/fps, 'out': (_end-1)/fps, 'value': value
|
||||
})
|
||||
|
||||
with open(target, 'w') as f:
|
||||
with open(target, 'wb') as f:
|
||||
f.write(ox.srt.encode(data))
|
||||
|
|
Loading…
Reference in a new issue