Skip to content

Commit 07fcb38

Browse files
committed
Fix use as standalone commands
1 parent 6b88227 commit 07fcb38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/cli/process/process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ def detect_device_preset(input_dir):
516516
print(f'output written to {args.output}', flush=True)
517517

518518
if __name__ == '__main__':
519-
def parse_args(args):
519+
def parse_args():
520520
import argparse
521521
parser = argparse.ArgumentParser(description=__doc__.strip())
522522
parser = define_args(parser)

python/cli/record/oak.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def open_gray_video(name):
243243
reader_thread.join()
244244

245245
if __name__ == '__main__':
246-
def parse_args(args):
246+
def parse_args():
247247
import argparse
248248
parser = argparse.ArgumentParser(description=__doc__.strip())
249249
parser = define_args(parser)

0 commit comments

Comments
 (0)