Skip to content

Commit 7cb7bba

Browse files
--find-offset-of was not specified as a required flag
1 parent 2fd60fc commit 7cb7bba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ def find_offset_thread(within_file, y_find, sample_rate, semaphore, window, data
5353

5454
def main():
5555
parser = argparse.ArgumentParser()
56-
parser.add_argument('--find-offset-of', metavar='<audio file>', type=str, help='Find the offset of file')
56+
parser.add_argument('--find-offset-of', metavar='<audio file>', type=str, help='Find the offset of file',
57+
required=True)
5758
parser.add_argument('--within', metavar='<folder>', type=str, help='Within files folder', default=".")
5859
parser.add_argument('--extension', metavar='<file extension>', type=str, default="*",
5960
help='File with the extension to use')

0 commit comments

Comments
 (0)