mirror of
https://github.com/romanz/amodem.git
synced 2026-03-27 21:39:06 +08:00
cli: handle Ctrl+C during calibration.
This commit is contained in:
@@ -196,7 +196,10 @@ def main():
|
||||
if args.calibrate is False:
|
||||
return args.main(config=config, args=args)
|
||||
else:
|
||||
args.calib(config=config, args=args)
|
||||
try:
|
||||
args.calib(config=config, args=args)
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user