Skip to content

Commit 9851b40

Browse files
committed
Remove unused bool var
1 parent 95d961e commit 9851b40

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

auto_editor/cmds/subdump.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ def main(sys_args: list[str] = sys.argv[1:]) -> None:
2121
parser.add_argument("--json", flag=True)
2222
args = parser.parse_args(SubdumpArgs, sys_args)
2323

24-
do_filter = True
25-
2624
if args.json:
2725
data = {}
2826
for input_file in args.input:
@@ -46,7 +44,7 @@ def main(sys_args: list[str] = sys.argv[1:]) -> None:
4644
startf = round(float(start), 3)
4745
endf = round(float(end), 3)
4846

49-
if do_filter and endf - startf <= 0.02:
47+
if endf - startf <= 0.02:
5048
continue
5149

5250
for sub in packet.decode():

0 commit comments

Comments
 (0)