client-barcode: Handle KeyboardInterrupt

This commit is contained in:
Sebastian Pipping 2011-10-05 17:45:32 +02:00
parent 11122966b5
commit dd224f42f6
1 changed files with 4 additions and 1 deletions

View File

@ -210,4 +210,7 @@ def main():
if __name__ == '__main__': if __name__ == '__main__':
try:
main() main()
except KeyboardInterrupt:
pass