Skip to content

Commit

Permalink
Fix coding cfg for cli_tools.srt2mid
Browse files Browse the repository at this point in the history
  • Loading branch information
duangsuse committed May 5, 2020
1 parent fe84f8e commit be8e9b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hachiko_bapu/cli_tools/srt2mid.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def env(name, transform, default): return transform(environ[name]) if name in en
NOTE_BASE = env("NOTE_BASE", int, 45)

def transform(srtz:Iterator[Subtitle], is_lyrics:bool) -> MidiFile:
out = MidiFile(ticks_per_beat=TICKS_PER_BEAT)
out = MidiFile(charset=getdefaultencoding(), ticks_per_beat=TICKS_PER_BEAT)
track = MidiTrack()
out.tracks.append(track)

Expand Down

0 comments on commit be8e9b3

Please sign in to comment.