Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
PK-cod3ch3mist committed Nov 4, 2021
1 parent 7fba012 commit 77e2865
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def subtitle_show(subs, tstamp_ms):
parts = subs.slice(starts_before={'milliseconds': int(tstamp_ms)}, ends_after={'milliseconds': int(tstamp_ms)})
size = os.get_terminal_size()
print("\033[" + str(size.lines - 2) + ";1H", end='')
for i in range(0, 3)
for i in range(0, 3):
print(" " * int(size.columns))
for part in parts:
print(part.text)
Expand Down Expand Up @@ -191,4 +191,4 @@ def read_media(vidfile, option):
vidfile = sys.argv[1]
subfile = sys.argv[2]
colored_output = int(sys.argv[3])
read_media_sub(vidfile, subfile, colored_output)
read_media_sub(vidfile, subfile, colored_output)

0 comments on commit 77e2865

Please sign in to comment.