diff --git a/schermetto/num_display.py b/schermetto/num_display.py index af72a81..12fd4ab 100755 --- a/schermetto/num_display.py +++ b/schermetto/num_display.py @@ -110,6 +110,7 @@ class App(Gtk.Application): self.window.present() def on_quit(self, action, param): + sys.stdin.close() self.quit() @GObject.Property(type=str, diff --git a/utils/wsclient.py b/utils/wsclient.py index 0c688b2..de2312c 100755 --- a/utils/wsclient.py +++ b/utils/wsclient.py @@ -26,7 +26,6 @@ def get_parser(): def on_message(wsapp, msg): print(msg) - def main(): args = get_parser().parse_args()