]> gitweb.fluxo.info Git - ckandumper.git/commitdiff
Handle keyboard interrupt
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 16 May 2019 16:42:05 +0000 (13:42 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 16 May 2019 16:42:05 +0000 (13:42 -0300)
ckandumper

index 0ec60d58461643a24f96bd96a3fd1494fdda957c..bfb99d7cf0e12f04c1390a50bf0057109c3d16fe 100755 (executable)
@@ -316,3 +316,6 @@ if __name__ == "__main__":
     except FileNotFoundError as e:
         print(e)
         exit(1)
+    except KeyboardInterrupt as e:
+        print(e)
+        exit(1)