Skip to content

Commit 5a4ae4e

Browse files
authored
Merge pull request #370 from huisman/patch-3
Remove unnecessary int conversion in master_openworm.py
2 parents 7ac9050 + b7aa40b commit 5a4ae4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

master_openworm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def execute_with_realtime_output(command, directory, env=None):
309309
black_dur = float(out[black_dur_pos + len("black_duration:") :])
310310

311311
if black_start == 0.0 and black_dur:
312-
black_dur = int(math.ceil(black_dur))
312+
black_dur = math.ceil(black_dur)
313313
command = "ffmpeg -ss 00:00:0%s -i %s/%s -c copy -avoid_negative_ts 1 %s/cut_%s" % (
314314
black_dur,
315315
new_sim_out,

0 commit comments

Comments
 (0)