Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #6 from cielo24/enhancement/PS-1430
Browse files Browse the repository at this point in the history
[PS-1430][Backend] Remove while loop
  • Loading branch information
JhelisonUchoa authored Feb 22, 2022
2 parents 62e9f77 + 4e9abb8 commit 5b9d011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pycaption/scc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def write(self, caption_set):
previous_start_time = -1
for (code, start, end) in codes:
while start <= previous_start_time:
previous_start_time = previous_start_time + MICROSECONDS_PER_CODEWORD
start = previous_start_time + MICROSECONDS_PER_CODEWORD
output += ('%s\t' % self._format_timestamp(start))
output += '94ae 94ae 9420 9420 '
output += code
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name='pycaption',
version='1.1.1',
version='1.1.2',
description='Closed caption converter',
long_description=open(README_PATH).read(),
author='Joe Norton',
Expand Down

0 comments on commit 5b9d011

Please sign in to comment.