client-barcode: Handle KeyboardInterrupt
This commit is contained in:
parent
11122966b5
commit
dd224f42f6
|
@ -210,4 +210,7 @@ def main():
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
try:
|
||||||
main()
|
main()
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
pass
|
||||||
|
|
Loading…
Reference in New Issue